How do i calculate 5+6*10 to get 110 on | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 2

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

12th Dec 2020, 8:43 AM
Udoka Peace
Udoka Peace - avatar
15 Answers
+ 7
(5+6)*10
12th Dec 2020, 8:43 AM
CHERIEF Houcine Abdelkader
CHERIEF Houcine Abdelkader - avatar
12th Dec 2020, 8:47 AM
CHERIEF Houcine Abdelkader
CHERIEF Houcine Abdelkader - avatar
+ 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
Sayyam Jain - avatar
+ 1
x=(5+6)*10 print(x)
12th Dec 2020, 9:04 AM
Amaklia Ilkama
Amaklia Ilkama - avatar
+ 1
print((5+6)*10)
13th Dec 2020, 7:10 AM
Omoniyi Victor
Omoniyi Victor - avatar
+ 1
((5+6)*10) (11*10) 110
13th Dec 2020, 1:44 PM
Kolla Vinod
Kolla Vinod - avatar
+ 1
Someone hit dwonarrow don't do that please encourage learners.....😌
13th Dec 2020, 2:29 PM
RAVI
RAVI - avatar
0
I did that it did not work
12th Dec 2020, 8:45 AM
Udoka Peace
Udoka Peace - avatar
0
Hey Simba I tried it but it showed me unmatched
12th Dec 2020, 8:49 AM
Udoka Peace
Udoka Peace - avatar
0
print((5+6)*10)
12th Dec 2020, 8:53 AM
Rathindhar .R.M
Rathindhar .R.M - avatar
0
I have posted it
12th Dec 2020, 8:54 AM
Udoka Peace
Udoka Peace - avatar
0
Simba pls check my post it is written there
12th Dec 2020, 9:03 AM
Udoka Peace
Udoka Peace - avatar
0
Python follows PEMDAS Rule
12th Dec 2020, 7:53 PM
Sayyam Jain
Sayyam Jain - avatar
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
Udoka Peace - avatar
0
Sum=5+6 M=10 print(Sum×M)
13th Dec 2020, 4:17 PM
Edris Ibrahimi
Edris Ibrahimi - avatar