Q2
Computer ScienceChapter 04d: Python — Error Handling
Question No. 2
Problem Statement
What will this code output if the user enters a non-numeric value like abc? try: num = int(input("Enter a number: ")); print("You entered:", num); except ValueError: print("Invalid input")
High Frequency SEE Question Difficulty: Moderate