Hey im wanting to do a calculation in python 3x and i wanted to know how to have the system print an answer onto the output. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 2

Hey im wanting to do a calculation in python 3x and i wanted to know how to have the system print an answer onto the output.

Coding

17th May 2017, 9:18 PM
Tanner
3 Answers
+ 5
x = 2+2 print (x)
17th May 2017, 9:49 PM
Michael Foster
Michael Foster - avatar
+ 5
or just: print (2+2)
17th May 2017, 10:21 PM
Michael Foster
Michael Foster - avatar
+ 1
Thanks!
17th May 2017, 10:40 PM
Tanner