Which function is called when the following Python program is executed?
Posted: Wed Jul 13, 2022 7:44 pm
f = foo()
format(f)
a) str()
b) format()
c) __str__()
d) __format__()
format(f)
a) str()
b) format()
c) __str__()
d) __format__()