An Interest In:
Web News this Week
- March 2, 2024
- March 1, 2024
- February 29, 2024
- February 28, 2024
- February 27, 2024
- February 26, 2024
- February 25, 2024
October 24, 2022 06:22 pm GMT
Original Link: https://dev.to/treadalex/99-of-python-programmers-dont-know-this-feature-3nki
99% of Python Programmers don't know this feature
Did you use or know about this feature before?
text = "PYTHON"print(f"{text}")# PYTHONprint(f"{text:#<20}")# PYTHON##############print(f"{text:_>20}")# ______________PYTHONprint(f"{text:.^20}")# .......PYTHON.......
Original Link: https://dev.to/treadalex/99-of-python-programmers-dont-know-this-feature-3nki
Share this article:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To