What's the precedence of operators in python? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What's the precedence of operators in python?

In cpp, the precedence of * operator is greater than that of /, I want to know if the same is valid in case of python. Thanks in advance.

1st Jun 2017, 12:16 PM
Siddharth Ss
Siddharth Ss - avatar
1 Answer
0
There is no sense in copying documentation out. Look at section 6.16 within undermentioned link: https://docs.python.org/3/reference/expressions.html
1st Jun 2017, 12:48 PM
Damian Tomalka
Damian Tomalka - avatar