Numerical operations | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Numerical operations

Can anyone tell me how to perform basic numerical operations like adding on python because when I do it it does not show any output

12th Oct 2018, 3:03 PM
Devansh Taliyan
Devansh Taliyan - avatar
2 Answers
+ 1
You need to tell the computer manually what you want to display. To show basic text use the print function e.g. print(2 + 3) print(3 * 3)
12th Oct 2018, 3:08 PM
TurtleShell
TurtleShell - avatar
0
thanks a lot
12th Oct 2018, 3:14 PM
Devansh Taliyan
Devansh Taliyan - avatar