Post Reply 
print() in CAS Program
04-20-2021, 03:09 PM (This post was last modified: 04-20-2021 03:09 PM by toml_12953.)
Post: #1
print() in CAS Program
I'm trying to use print() in a CAS program that uses Python syntax. I'm pretty sure it worked before the Apr 16 beta.

t = 4
print(t + " seconds")

should print

4 seconds

instead it prints

t + " seconds"

How can I get it to print the value of t rather than the entire string in the parentheses?

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


Messages In This Thread
print() in CAS Program - toml_12953 - 04-20-2021 03:09 PM
RE: print() in CAS Program - StephenG1CMZ - 04-20-2021, 03:43 PM
RE: print() in CAS Program - toml_12953 - 04-20-2021, 05:23 PM
RE: print() in CAS Program - toml_12953 - 04-20-2021, 05:29 PM
RE: print() in CAS Program - roadrunner - 04-20-2021, 03:43 PM
RE: print() in CAS Program - toml_12953 - 04-20-2021, 05:33 PM
RE: print() in CAS Program - StephenG1CMZ - 04-20-2021, 05:55 PM
RE: print() in CAS Program - toml_12953 - 04-20-2021, 06:42 PM
RE: print() in CAS Program - jonmoore - 04-21-2021, 12:42 PM



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