I m not abale to use calculations in python without using print, also I m not abale to use variable😩 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I m not abale to use calculations in python without using print, also I m not abale to use variable😩

I m a bigenner

10th May 2020, 11:14 AM
Ayush
Ayush - avatar
5 Answers
+ 2
It's normal that you have to use print. Only if you run Python in interpreter mode, expressions will be evaluated and given out automatically.
10th May 2020, 11:21 AM
HonFu
HonFu - avatar
+ 1
It's okay to use print just go through the tutorial and you'll see many ways to print and you will know how to handle variables
10th May 2020, 1:42 PM
Hansel
0
Now how can I do that
10th May 2020, 11:22 AM
Ayush
Ayush - avatar
0
That means youre using an IDE. Its fine, because it also allows you to write multiple lines of code and then execute them one at a time automatically. If you were in the python interpreter you wouldnt have to use print for simple calculations, but you can only type one line at a time. Its not a problem
10th May 2020, 11:24 AM
Slick
Slick - avatar
0
Thnx
10th May 2020, 11:25 AM
Ayush
Ayush - avatar