what wil be the result of following python expression?
15.0/4.0+(8+3.3)
Answers
Answered by
1
Answer:
15.05
Explanation:
The priorities of operators in python are as followed:
- ^ or * *
- /, // , %, *
- +,-
Using that,
we solve it in the following order:
- 15.0/4.0+(8+3.3)
- 15.0/4.0+11.3
- 3.75 + 11.3
- 15.05
Similar questions
Math,
2 months ago
Math,
2 months ago
Math,
5 months ago
Environmental Sciences,
5 months ago
English,
11 months ago