Post Reply 
Discoveries in Python Libraries
10-26-2022, 03:29 AM
Post: #2
RE: Discoveries in Python Libraries
Regarding print()

- fstring print not implemented https://realpython.com/python-f-strings/
- \t doesn't work
Alternative use chr() with space (ANSI code is 32)
Code:
tab=4*chr(32)
print(tab,"how are you",tab)

HP Prime G1
Python via Android Termux...
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Discoveries in Python Libraries - Ioncubekh - 10-26-2022 03:29 AM



User(s) browsing this thread: 1 Guest(s)