This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
print("PRENOTE: For a fraction type the top number, then enter and a / will appear to enter the next one.\nAlso, don't type pound or percent signs") | |
print("SECTION A") | |
print("\n Q1") | |
q1_a = input("Which is bigger, ") | |
q1_b = input(" /\n ") | |
q1_c = input("OR ") | |
q1_d = input(" /\n ") | |
q1_fracA = int(q1_a) / int(q1_b) | |
q1_fracB = int(q1_c) / int(q1_d) | |
if q1_fracA > q1_fracB: print(q1_a + "/" + q1_b) |