Post Reply 
How can I discover which version of Python I am running?
05-16-2023, 07:19 PM
Post: #3
RE: How can I discover which version of Python I am running?
You could also use, similar to Casio and Ti:

Code:
try:
  import hpprime
  IsPrime = True
except:
  IsPrime = False

print("IsPrime = ", IsPrime)
No need to resort to "sys" library

Günter
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: How can I discover which version of Python I am running? - Guenter Schink - 05-16-2023 07:19 PM



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