in

RateMyCodePt2

RateMyCodePt2 | code-memes, IT-memes | ProgrammerHumor.io
code-memes, IT-memes | ProgrammerHumor.io

Content

why is my code running slow? I shared it with a friend, he said he was still processing it. print ("Welcome to Calculator!") print("Please input the equation (e.g. ’11’). Type ‘exit’ to quit.") while True: operation input ("Equation: ") if operation. lower ) "exit": print("Exiting the calculator.") break if operation not in operations: print ("We will get back to you in 2-3 business days .") else: operations "11": 2, "21": 3, "12": 3, "3-1": 2, "3-2": 1, "52" 10, "62": 3, 1102" 5, "23": 8, "42": 16, "sart (9)" 3, "73": 1, "1073": 3, "512": 2, "84": 12 "Q54