Python Programming - Inheritance - Discussion
Discussion Forum : Inheritance - General Questions (Q.No. 46)
46.
What is the purpose of the
__format__()
method in Python classes?
Answer: Option
Explanation:
The
__format__()
method is used to customize the string formatting behavior of instances of a class.
Discussion:
Be the first person to comment on this question !
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers