Post Reply 
new user python on hp prime g2, casio cg50
05-25-2021, 02:26 AM (This post was last modified: 05-25-2021 02:33 AM by toml_12953.)
Post: #7
RE: new user python on hp prime g2, casio cg50
(05-24-2021 09:46 PM)Liamtoh Resu Wrote:  I still can not get your edited code to run.

I reflashed the prime g2 with the 20210505 update--same result.
I have the revision D hardware.

Is there a subtle setting(s) change in the prime to be done to get it working?

Thanks.

Oops! My fault. Try this:

Code:
#PYTHON name
# 20190704 HP Prime
# micro python
# print string array 
# test0004.py
import math
j=3
a=['moe','larry','curly']
print (j)
print (a)
for j in range(3):
  x=a[j]
  print (x)
#end
EXPORT test0004()
BEGIN
  PYTHON(name);
END;

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


Messages In This Thread
RE: new user python on hp prime g2, casio cg50 - toml_12953 - 05-25-2021 02:26 AM



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