You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have found myself in a situation where thinking about operator precedence, while getting familiar with a new theory confuses me. It would be nice to have a set_trace option or something similar to print out all the brackets explicitly. For example it would print x*2+6 as (x*2)+6.
The text was updated successfully, but these errors were encountered:
formrre
changed the title
Option to print brackets explicitly instead of relying on operator precedence
Add option to print brackets explicitly instead of relying on operator precedence
Dec 13, 2018
I have found myself in a situation where thinking about operator precedence, while getting familiar with a new theory confuses me. It would be nice to have a set_trace option or something similar to print out all the brackets explicitly. For example it would print
x*2+6
as(x*2)+6
.The text was updated successfully, but these errors were encountered: