So your if statement says: if gender is not "man" OR if gender is not "female"
Consider that an OR statement checks BOTH conditions independently. So if you enter "female", the first condition of...