Math, asked by sarasvatidevi817, 5 months ago

expression in python's interactive mode and evaluate. (25+7) *5-15/3​

Answers

Answered by ayeshasamad158
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 allysia
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