3. Falsy and truthy
It’s enough to use the variable to test for falsy or truthy.
3.1. Don’t do this
1is_male = True
2
3if is_male == True:
4 print('is male is true')
3.2. Do this
1is_male = True
2
3if is_male:
4 print('is male is true')