0

What is the solution of '5+3/4' please justify!

24th Jul 2016, 2:25 PM
Aditya Basroor
Aditya Basroor - avatar
6 odpowiedzi
0
Python usually followd BODMAS rule! So division first and then addition. 5+0.75
24th Jul 2016, 2:37 PM
Kovuri Vinay
Kovuri Vinay - avatar
0
we consider float in normal division right?
24th Jul 2016, 2:42 PM
Aditya Basroor
Aditya Basroor - avatar
0
the answer is two
27th Jul 2016, 4:59 PM
Gerard
0
5 + 3 / 4 = 5 + 0.75 = 5.75 (type float) In order of operations, division and multiplication is evaluated before subtraction and addition.
28th Jul 2016, 6:29 PM
Hasan Sajid
0
5.75
2nd Sep 2016, 6:13 PM
arun kumar
arun kumar - avatar
0
Gerard why the answrr is 2
21st Sep 2016, 5:28 PM
Ahmed Kamal
Ahmed Kamal - avatar