I tried doing it the long way by simply going down the months one by one but my teacher told me the long was was unacceptable. Now I have the day and month printed but am not sure how to quickly change the number given into the month it represents. This is what I have so far.
birthMonth = int(input("Enter your Birth Month:"))
if birthMonth <= 0 or birthMonth > 12:
print("Invalid, Choose again")
else:
birthDay = int(input("What day?:"))
if birthDay <=0 or birthDay > 31:
print('Not a valid Birthday')
else:
print(birthMonth, birthDay)
It will print the number and the day which is fine but she does not want me to list out all of the months. I would appreciate any help I can get.