Skip to content

Instantly share code, notes, and snippets.

View codingJWilliams's full-sized avatar
💭
playing gam3s

Jay Williams codingJWilliams

💭
playing gam3s
View GitHub Profile
anonymous
anonymous / Heky-0.py
Created May 3, 2017 19:22
null created by anonymous - https://repl.it/Heky/0
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)