Run ❯
Get your
own Python
server
Result Size:
625 x 565
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
txt = "For only {price:.2f} dollars!" print(txt.format(price = 49))
x
txt
=
"For only {price:.2f} dollars!"
print
(
txt
.
format
(
price
=
49
))
For only 49.00 dollars!