- 1

How do you do numeric-operations with variables?

Such as num1+num2*num3

29th Mar 2017, 5:00 PM
Maria Nachiu
Maria Nachiu - avatar
10 Antworten
+ 1
print(num1+num2*num3) or put it in a variable: x=num1+num2*num3 print(x)
29th Mar 2017, 5:19 PM
ngaihte
ngaihte - avatar
0
yes?
29th Mar 2017, 5:01 PM
Meharban Singh
Meharban Singh - avatar
0
Okay thank you
29th Mar 2017, 5:04 PM
Maria Nachiu
Maria Nachiu - avatar
0
if no parentesis ,you must do * first follow by +
30th Dec 2019, 3:10 AM
Cyrus Li
0
dunno
11th Mar 2020, 1:28 AM
Ambern Meraz
Ambern Meraz - avatar
0
Помогите Плис
5th Apr 2020, 3:49 PM
Berdibek uulu Beksultan
0
Объясните 2**5 я не понял это python
5th Apr 2020, 3:50 PM
Berdibek uulu Beksultan
0
Имеется ,что это 2 в 5 степени (2*2*2*2*2)=32
18th Apr 2020, 10:51 AM
Kira
0
Print (1+2*3)
9th Feb 2021, 6:38 AM
Vaishali Singh
Vaishali Singh - avatar
- 1
Do ( num1 + num2 ) *number3
29th Mar 2017, 5:03 PM
Rozzon Adam
Rozzon Adam - avatar