- 1

2+7*2//8

What is the precedence with out ()

3rd Feb 2021, 12:58 PM
tekee tek
tekee tek - avatar
5 ответов
+ 5
https://docs.python.org/3/reference/expressions.html#operator-precedence .
3rd Feb 2021, 1:00 PM
Alphin K Sajan
Alphin K Sajan - avatar
+ 5
* and // have same precedence.
3rd Feb 2021, 1:05 PM
Sonic
Sonic - avatar
+ 5
Answer should be 3.
3rd Feb 2021, 1:06 PM
Sonic
Sonic - avatar
+ 2
tekee tek you're welcome.
3rd Feb 2021, 7:51 PM
Sonic
Sonic - avatar
+ 1
Thank you Sonic
3rd Feb 2021, 1:56 PM
tekee tek
tekee tek - avatar