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
Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.
{η!б€£ $!£¤η€я¤}• -
kathir b -
kathir b -
Mike Young -
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!