Checkpoint 8.9.1.
Q-3: The
repr
function takes an object as an argument and returns what type of representation of the object?
repr
can help. It takes any object as an argument and returns a string representation of the object. For strings, it represents whitespace characters with backslash sequences:repr
function takes an object as an argument and returns what type of representation of the object?
\n
. Others use a return character, represented \r
. Some use both. If you move files between different systems, these inconsistencies might cause problems.wikipedia.org/wiki/Newline