# helpful script to tell students where to take Prelim 1 # # after 3 short questions, your exam location can be determined! print("\nHi! I can tell you where to show up to take Prelim 1!") print("First, I'll need you to answer 3 simple questions.") extended = input("(1) Did you register the need for extended time on CMS? Please answer yes or no: ") makeup = input("(2) Did you register a conflict on CMS? Please answer yes or no: ") netID = input("(3) What is your netID? Keep the letters portion in lower-case, please: ") gets_email = False if (makeup == "yes"): if (extended == "yes"): print("You will be taking a makeup exam with extended time.") else: print("You will be taking a makeup exam.") gets_email = True elif (extended == "yes"): print("You will be taking an exam with extended time.") gets_email = True elif ((netID > "aa1") and (netID < "jkz99999")): print("you will be taking Prelim 1 in Baker Lab 200") elif ((netID > "jl1") and (netID < "sez99999")): print("you will be taking Prelim 1 in Rockefeller 201") else: print("you will be taking Prelim 1 in Rockefeller 203") if (gets_email): print("You will receive an email with exam time and location.")