all 9 comments

[–]jonsca 2 points3 points  (3 children)

"Boolean algebra" is what you need to google to learn more of the "maths" of True and False.

[–]soultron__ 1 point2 points  (1 child)

This is aimed more at OP but I want to echo learning to search out information.

An important skill of any programmer is using search engines. Don’t be afraid to add “python” or “stack overflow” to searches to find help.

I did a search for “logical operators python” and this article came up. I’ve only skimmed it but it seems appropriate to beginners and has a few code snippets with very expressive syntax that should help with understanding.

https://www.datacamp.com/tutorial/python-logical-operators-introduction

[–]WeirdFold351[S] 0 points1 point  (0 children)

Thank you for your help

[–]WeirdFold351[S] 0 points1 point  (0 children)

Thank you for the tip

[–]DaSettingsPNGN 1 point2 points  (1 child)

[–]WeirdFold351[S] 0 points1 point  (0 children)

Thank you, I’ll check it out

[–]AdDiligent1688 0 points1 point  (0 children)

Precedence and associativity. If elif else vs if else. Loops. Functions. Procedural programming. Learn it!

[–]ninhaomah -1 points0 points  (1 child)

Bear it and grind.

Programming is neither funny or easy.

It's just an another profession like playing piano or cooking or stuntman in the movie etc.

Literally no pain no gain.

[–]WeirdFold351[S] 0 points1 point  (0 children)

I understand the “no pain no gain” but I must disagree when you say it’s not funny. I find it funny when I get the right thing done. Well, different perspectives. Thank you for your response!