Post Reply 
Error is not an Error?
06-17-2021, 02:57 PM
Post: #6
RE: Error is not an Error?
(06-17-2021 11:32 AM)Thomas_Sch Wrote:  HP-Prime python is micropython. (http://micropython.org/; https://docs.micropython.org)
Micropython is based on Python 3.4. (see Help > Tree > HP apps > Python app > OK, page 2)
You may check this:
Code:
from sys import *
print(version_info)

F-string literals have been added to python since python 3.6.
You can check more about it here (https://www.python.org/dev/peps/pep-0498/)
(from https://stackoverflow.com/questions/5040...yntaxerror)

OK, I changed the format statements to the old method. Now I get an error on the input() statement. I try to enter -2,1,-2 and it enters Ans-2 for the first number.

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


Messages In This Thread
Error is not an Error? - toml_12953 - 06-17-2021, 05:13 AM
RE: Error is not an Error? - Liamtoh Resu - 06-17-2021, 08:48 AM
RE: Error is not an Error? - toml_12953 - 06-17-2021, 02:28 PM
RE: Error is not an Error? - Albert Chan - 06-17-2021, 10:46 AM
RE: Error is not an Error? - Thomas_Sch - 06-17-2021, 11:32 AM
RE: Error is not an Error? - toml_12953 - 06-17-2021 02:57 PM
RE: Error is not an Error? - Albert Chan - 06-20-2021, 03:25 PM
RE: Error is not an Error? - Liamtoh Resu - 06-17-2021, 06:30 PM



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