GRACE COE-CSE-GE3171-Problem Solving and Python Programming Laboratory-Ex10a- Implementing real-time/technical applications for Divide by Zero Error using Exception Handling
This video shows how to write a python program to implement real-time/technical applications for Divide by Zero Error using Exception Handling
PROGRAM:
try:
num1 = int(input("Enter First Number: "))
num2 = int(input("Enter Second Number: "))
result = num1 / num2
print(result)
except ValueError as e:
print("Invalid Input Please Input Integer...")
except ZeroDivisionError as e:
print(e)
Sur cette page du site, vous pouvez voir la vidéo en ligne GRACE COE-CSE-GE3171-Problem Solving and Python Programming Laboratory-Ex10a durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur GRACE COLLEGE OF ENGINEERING 04 avril 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 484 fois et il a aimé 2 téléspectateurs. Bon visionnage!