Operator precedence | SoloLearn: Learn to code for FREE!


Operator precedence

Going through a table of operator precedence in Python. I’m very new to this whole coding thing, do i need to learn this table by heart? 😳

7/24/2018 8:19:02 PM

Ale Xandera

2 Answers

New Answer


Whenever in doubts, use parentheses. They will make sure the precedence is as you want it :)


There's no need to learn the whole thing right now. You'll remember it while practicing and as you continue to learn Python.