0

How I will carry out calculations in python console ??

29th May 2019, 8:43 AM
Manan Garg
Manan Garg - avatar
6 ответов
+ 4
Manan, the console will normaly show the prompt for input: >>> Make sure your cursor is just behind this prompt. Then you can input like 10+4 (then press Return key) and the result should be shown as 14. If you are working on CodePlayground of SoloLearn: There is no console availlable.
29th May 2019, 8:58 AM
Lothar
Lothar - avatar
+ 5
If the value is stored in a variable, you can just type the name of the variable and hit enter to see the value. >>> x = 25 * 8 >>> x 200
29th May 2019, 9:54 AM
Anna
Anna - avatar
+ 1
x = 5 + 9 x = 6 * 5 b = x / x
29th May 2019, 8:44 AM
Cat Sauce
Cat Sauce - avatar
+ 1
it shows no output
29th May 2019, 8:46 AM
Manan Garg
Manan Garg - avatar
+ 1
will you please send me the procedure ... that how will I type on it ???
29th May 2019, 8:46 AM
Manan Garg
Manan Garg - avatar
+ 1
you can type print(5 + 9)
29th May 2019, 8:59 AM
Cat Sauce
Cat Sauce - avatar