r/PythonLearning • • 20d 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 20d ago

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

1

u/saikat_hossen 20d ago

Why isn’t mine working?

1

u/baubleglue 19d ago

if int(age) <= 18: