Did you use or know about this feature before?
text = "PYTHON"
print(f"{text}")
# PYTHON
print(f"{text:#<20}")
# PYTHON##############
print(f"{text:_>20}")
# ______________PYTHON
print(f"{text:.^20}")
# .......PYTHON.......
Did you use or know about this feature before?
text = "PYTHON"
print(f"{text}")
# PYTHON
print(f"{text:#<20}")
# PYTHON##############
print(f"{text:_>20}")
# ______________PYTHON
print(f"{text:.^20}")
# .......PYTHON.......
For further actions, you may consider blocking this person and/or reporting abuse
Vladislav Radchenko -
Bas Steins -
Kumar Kalyan -
Namima Islam -
Top comments (8)
Now 98.976% don't know
I too didn't know about this. Thanks for sharing
Amazing feature...
I didn't knew it too.
Thanks for telling.
Nice one bruh
Nice
THanks!
WoW thanks for sharing.
Wow! That is really good to add to the readability during testing phase!! Thanks for sharing!