RE: Working With If Statements In Python
You are viewing a single comment's thread:
Loops and conditions are what make programming powerful. Some knowledge of logic may be required.
I see you put the conditions in (...), which is not strictly necessary. I have seen others do this and it may be habit as other languages require it.
I won't get into the spaces vs tabs indenting argument, but consistency is the most important thing.
0
0
0.000
Hey @steevc thanks for your comments and thanks for bringing up about conditions needing to be in brackets. I have actually amended the article to include a note about adding brackets for the conditions as well.
Really appreciate you taking the time to mention that as it really helps.
Regards Vince
No problem. It's useful for me to read through these to see what I can learn.
!BEER
View or trade
BEER
.Hey @run.vince.run, here is a little bit of
BEER
from @steevc for you. Enjoy it!Learn how to earn FREE BEER each day by staking your
BEER
.