Exam 3 / 12. Q12: Multiple Choice-Figure2 Saved D = {0:1, 2:3} S = input("Input something: ") try: float(s) # Line 1 X =
Posted: Thu May 05, 2022 1:59 pm
Exam 3 / 12. Q12: Multiple Choice-Figure2 Saved D = {0:1, 2:3} S = input("Input something: ") try: float(s) # Line 1 X = y = int(s) z = D[y] except ValueError: print("Oops_1") except KeyError: print("Oops_3") else: print(x,y,z) finally: print("Finally Executed") # Line 4 What input (remember that input is of type str] will cause the code to reach Line 1 and for Line 1 to be executed without error ? 00 T 1.5' '2.0' None of the above # Line 2 # Line 3