+ 1

Error

while True: print("ithan options") print("add") print("sub") print("mul") print("div") a = (float(input("a va sollu") b = (float(input("b ah sollu") user_input == input(": ") if user_input == "none": break print("mooditu kelambu") elif user_input == "add": c = (a + b) print(c) elif user_input == "sub": c = ( a - b) print(c) elif user_input == "mul": c = (a * b) print(c) elif user_input == "div": c = (a/b) print(c) else print ("set aagala")

17th Jul 2018, 7:06 AM
Ashwin Bharathithasan
Ashwin Bharathithasan - avatar
1 Answer