expression in python's interactive mode and evaluate. (25+7) *5-15/3
Answers
Answered by
4
Answer:
32 *5 - 15/3
160 - 5
155
Step-by-step explanation:
first add 25 and 7 =32, then divide 15 by 3= 5, then multiply 32 by 5 = 160, finally subtract 5 from 160
Answered by
3
Answer:
155.0
Explanation:
The priorities of operators in python are as followed:
- ()
- ^ or * *
- /, // , %, *
- +,-
Using that,
we solve it in the following order:
- (25+7) *5-15/3
- 32*5-15/3
- 160-5.0
- 155.0
Similar questions
Math,
2 months ago
Hindi,
2 months ago
Business Studies,
5 months ago
Social Sciences,
9 months ago
History,
9 months ago