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
#To demonstrate, we insert the number 6 to set the available space for the value to 6 characters. #Use ">" to right-align the value: txt = "We have {:>6} cats." print(txt.format(50))
Mrexamples 1024 Move Game
×