r/PythonLearning • • 7d ago

Python Boolean

I'm having some trouble understanding Python boolean logic, it’s so simple to let it be confusing. Can anyone explain it to me in their own language?

2 Upvotes

14 comments sorted by

View all comments

1

u/ninhaomah 7d ago

Show us the piece of code you don't understand.

1

u/saikat_hossen 7d ago

Why isn’t mine working?

1

u/baubleglue 6d ago

if int(age) <= 18: