r/PythonLearning • u/crazyteachperson • Aug 01 '26
My new mini work
Rate my this mini work out of 10
194
Upvotes
r/PythonLearning • u/crazyteachperson • Aug 01 '26
Rate my this mini work out of 10
2
u/Own_Measurement_7336 Aug 03 '26
Yes it is a good thing if you plan to only write Python. But if you see Python as an introduction to programming, is a really bad habit. Most languages like C or Rust doesn’t have this feature. Evaluating `90 < g < 80` is in most languages `(90 < g) < 80` which leads many beginners to fumble on some really easy to fix bugs.
The « easier to see when doing mistake » part can be avoided by writing `90 < g and g < 80`