Created
July 23, 2023 15:38
-
-
Save DevloperHS/fd28b5b3bc3ebf85382f2ab06360f25d to your computer and use it in GitHub Desktop.
F string programs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
text = "PYTHON" | |
print(f"{text}") | |
print(f"{text:#<20}") | |
print(f"{text:_>20}") | |
print(f"{text:.^20}") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment