Question: What is the difference between the special methods repr and str ? Question 2 options: repr is for data, whereas str is for strings There
What is the difference between the special methods repr and str
Question options:
repr is for data, whereas str is for strings
There is no difference
repr is used for more generalized explanations, whereas str is for more technical ones
repr is used for more technical explanations, whereas str is for more generalized ones
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
