please help with this

0 votes

I need the user to type 17 OR 18 and if they type a different number the computer should say error else it shoul d=say thanks

if Age !="17" or "18" :
    print("Error please try again")
elif Age == "17" or "18":
    print("thanks")
Sep 25, 2022 in Python by bonicoder

edited Mar 4 20 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP