Post Reply 
HP_PRIME PYTHON SYNTAX: HP_PPY
08-30-2020, 02:56 AM
Post: #39
RE: HP_PRIME PYTHON SYNTAX: HP_PPY
I see the print() function doesn't work the same in CAS as in Python

PHP Code:
print(4,5

should print

PHP Code:
4 5 

Instead it prints

PHP Code:
4,

However

PHP Code:
print(4,5,sep=''

does work the same as in python. It prints

PHP Code:
45 

Tom L
Cui bono?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: HP_PRIME PYTHON: HP_PPY - toml_12953 - 11-12-2017, 04:42 PM
RE: HP_PRIME PYTHON: HP_PPY - webmasterpdx - 11-12-2017, 05:58 PM
RE: HP_PRIME PYTHON: HP_PPY - Carlos295pz - 11-12-2017, 06:08 PM
RE: HP_PRIME PYTHON: HP_PPY - webmasterpdx - 11-12-2017, 06:12 PM
RE: HP_PRIME PYTHON: HP_PPY - Carlos295pz - 11-12-2017, 06:19 PM
RE: HP_PRIME PYTHON: HP_PPY - webmasterpdx - 11-12-2017, 06:21 PM
RE: HP_PRIME PYTHON: HP_PPY - Carlos295pz - 11-12-2017, 06:26 PM
RE: HP_PRIME PYTHON: HP_PPY - parisse - 11-12-2017, 07:35 PM
RE: HP_PRIME PYTHON SYNTAX: HP_PPY - toml_12953 - 08-30-2020 02:56 AM



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