0

How do i print an equation (py)

Im starting the python course, im in the Other numerical operations part and i need to use the print statement to output the result of this ecuation "0.01*(2**30)" but i dont know how to use the print statement, i was just told how to print hello world

5th Aug 2020, 6:22 PM
Diego Vega
Diego Vega - avatar
3 odpowiedzi
+ 6
Diego Vega , just use=> print (0.01*(2**30)) 🐱
5th Aug 2020, 6:28 PM
TheWh¡teCat 🇧🇬
TheWh¡teCat 🇧🇬 - avatar
+ 3
print(0.01*(2**30)) the print statement just outputs almost whatever you put in it to the console
5th Aug 2020, 6:28 PM
Randomocity
Randomocity - avatar
0
You can print everything with function print(). Strings number, equation,classes, lists dictionaries tuples.
5th Aug 2020, 8:44 PM
george
george - avatar