Page 1 of 1

Which function is called when the following Python program is executed?

Posted: Wed Jul 13, 2022 7:44 pm
by answerhappygod
f = foo()
format(f)
a) str()
b) format()
c) __str__()
d) __format__()