f = foo()
format(f)
a) str()
b) format()
c) __str__()
d) __format__()
Which function is called when the following Python program is executed?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Which function is called when the following Python program is executed?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!