Operator precedence | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 1

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? ūüė≥

24th Jul 2018, 8:19 PM
Ale Xandera
Ale Xandera - avatar
2 Réponses
+ 6
Whenever in doubts, use parentheses. They will make sure the precedence is as you want it :)
24th Jul 2018, 9:05 PM
Kuba SiekierzyŇĄski
Kuba SiekierzyŇĄski - avatar
+ 4
There's no need to learn the whole thing right now. You'll remember it while practicing and as you continue to learn Python.
24th Jul 2018, 8:24 PM
Tim Thuma
Tim Thuma - avatar