How do i calculate 5+6*10 to get 110 on | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
- 2

# How do i calculate 5+6*10 to get 110 on

12th Dec 2020, 8:43 AM
Udoka Peace
15 Antworten
+ 7
(5+6)*10
12th Dec 2020, 8:43 AM
12th Dec 2020, 8:47 AM
+ 2
Udoka Peace Nope python follows PEMDAS Sequence Follow by Python :- Parenthesis Exponentiation Multiplication Division Addition Subtraction So first multiplication 6*10 done and then 5+60 = 65 A ̤n ̤s ̤w ̤e ̤r ̤ but you can change the sequence by adding parenthesis means brackets ( ) Like Example :- (5+6)*10 So as adding parenthesis we tell python to do which operation first so its done 5 + 6 and then multiply to 10 11*10 = 110 A ̤n ̤s ̤w ̤e ̤r ̤
13th Dec 2020, 5:16 PM
Sayyam Jain
+ 1
x=(5+6)*10 print(x)
12th Dec 2020, 9:04 AM
Amaklia Ilkama
+ 1
print((5+6)*10)
13th Dec 2020, 7:10 AM
Omoniyi Victor
+ 1
((5+6)*10) (11*10) 110
13th Dec 2020, 1:44 PM
Kolla Vinod
+ 1
Someone hit dwonarrow don't do that please encourage learners.....😌
13th Dec 2020, 2:29 PM
RAVI
0
I did that it did not work
12th Dec 2020, 8:45 AM
Udoka Peace
0
Hey Simba I tried it but it showed me unmatched
12th Dec 2020, 8:49 AM
Udoka Peace
0
print((5+6)*10)
12th Dec 2020, 8:53 AM
Rathindhar .R.M
0
I have posted it
12th Dec 2020, 8:54 AM
Udoka Peace
0
Simba pls check my post it is written there
12th Dec 2020, 9:03 AM
Udoka Peace
0
Python follows PEMDAS Rule
12th Dec 2020, 7:53 PM
Sayyam Jain
0
Python is calculating numbers using bodmas but 5+6*10=110 according to python but when I type the same5+6*10 pthyon calculate it to be 65
13th Dec 2020, 12:50 PM
Udoka Peace
0
Sum=5+6 M=10 print(Sum×M)
13th Dec 2020, 4:17 PM
Edris Ibrahimi