Multiple Exception In Python || Exception Handling || Python
In this we are going to see a basic program to check multiple exceptions in Python Programming Language.



string = input("Enter String : ")
try:
    num = int(input("Enter Number : "))
    print(string+num)
except (TypeError, ValueError) as e:
    print(e)

# Coded By Dhiraj Shelke


#ENJOY CODING


Post a Comment

FOR ANY DOUBTS AND ERRORS FEEL FREE TO ASK. YOUR DOUBTS WILL BE ADDRESSED ASAP

Previous Post Next Post