Post Reply 
Some Python Scripts to understand Variables Transfer
10-26-2022, 03:08 AM (This post was last modified: 10-26-2022 03:25 AM by Ioncubekh.)
Post: #5
RE: Some Python Scripts to understand Variables Transfer
Quote:3. Another print statement is required to show the user just entered after an input on the terminal. I find it quite annoying.
Good observation thanks

Quote:4. \t shows a box.

Python chr(9) also doesn't work Sad
Alternative is
Code:
tab=4*chr(32)
print(tab,"how are you",tab)

REMEMBER: there is python built-in eval() & then there is hpprime eval() so always import hpprime lib as alias like
Code:
import hpprime as hp
hp.eval()

Also python fstring print not supported: https://realpython.com/python-f-strings/

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: Some Python Scripts to understand Variables Transfer - Ioncubekh - 10-26-2022 03:08 AM



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