The task at hand is quite simple, make a short program that asks for a cpsc prerequisite (number 217,219, or 233) and a math prerequisite (217 or 251) and if you have one of those classes as a prerequisite then it should say prerequisites met, if not then prerequisites not met. My code goes as follows (dont laugh, literally the biggest python noob):
cpsc=input("Which cpsc course have you taken (only pick one): ")
math=input("which math course have you taken (only pick one): ")
if cpsc==(217 or 219 or 233) and math ==(217 or 251)
print("prerequisites met")
else:
print("prerequisites not met")
Every input i have it only gives me the else print, i'm assuming its a problem with the comparisons in cpsc==
and math==
, what can i do to make this work? any and all help would be greatly appreciated.