# program which reads in the number of credits a student has # and tells them what class they are based off that creds = int(input("How many credits do you have? ")) if creds <= 29: print("You are a first-year!") if creds >= 30 and creds <= 59: print("You are a sophomore!") if creds >= 60 and creds <= 89: print("You are a junior!") if creds >= 90: print("You are a senior!") print("Have a nice day!")