Skip to content
MR
HTML
Tailwind
PYTHON
JAVA
Solidity
PHP
Lua
F#
Android
MYSQL
MONGODB
Examples
Python Compiler : Python
Home
PYTHON
Tryit: python
Download code
Upload code
Clear
Update
#Use "%" to convert the number into a percentage format: text = "You scored {:%}" print(text.format(0.30)) #Or, without any decimals: text = "You scored {:.0%}" print(text.format(0.30))
Mrexamples 1024 Move Game
×