We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 08f6c7d commit 9ae58c9Copy full SHA for 9ae58c9
Python - String Methods format().txt
@@ -1,2 +1,3 @@
1
txt = "For only {price:.2f} dollars!"
2
print(txt.format(price = 49))
3
+//creater by Sanusanth
0 commit comments