Computer Science, asked by aanusham403, 4 months ago

in python evaluate
12*(3%4)//2+6​

Answers

Answered by allysia
6

Answer:

24

Explanation:

The priorities of operators in python are as followed:

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

Using that,

we solve it in the following order:

  • 12*(3%4)//2+6​
  • 12*3//2+6
  • 36//2+6
  • 18+6
  • 24
Similar questions