Q16
Which function is called when the following Python code is executed? f = foo() format(f)
A.
format()
B.
__format__()
C.
str()
D.
__str__()
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board