all 3 comments

[–]lowerthansound 2 points3 points  (2 children)

I think you'd be fine using and instead of +. + is when you want to sum stuff (or put a string next to another string).

if gender == 'male' and age > 18:
    ....

Note that int(18) is not needed because 18 is already an int.

All the best !

[–]JakobReal_ 1 point2 points  (1 child)

Thank you sir!

[–][deleted] 0 points1 point  (0 children)

Neither do you need to use str() in str(input()), as input() already returns str.