Python Programming - Console Input/Output - Discussion

Discussion Forum : Console Input/Output - General Questions (Q.No. 8)
8.
Which of the following is used to format the output?
format()
print_format()
string.format()
f-string
Answer: Option
Explanation:
In Python, f-string is used for formatting output by embedding expressions inside string literals.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.