Oct-03-2016, 01:23 PM
Also, you don't need the parenthesis in your 'if' and 'elif' statements:
a = 150 if a > 100: print('a is bigger') elif a < 100: print('a is smaller')
If it ain't broke, I just haven't gotten to it yet.
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition