Computer Science, asked by ac6918998, 2 months ago

100 +(5 * *3-7)/4 evaluate
and give the out put.

Computer Question
Fast ​

Answers

Answered by allysia
1

Answer:

129.5

Explanation:

The priorities of operators in python are as followed:

  • ()
  • ^ or * *
  • /, // , %, *
  • +,-

Using that,

we solve it in the following order:

  • 100 +(5 * *3-7)/4
  • 100+(125 -7)/4
  • 100+ 118/4
  • 100+29.5
  • 129.5
Similar questions