GRACE COE-CSE-GE3171-Problem Solving and Python Programming Laboratory-Ex10a

Published: 04 April 2022
on channel: GRACE COLLEGE OF ENGINEERING
484
2

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)


On this page of the site you can watch the video online GRACE COE-CSE-GE3171-Problem Solving and Python Programming Laboratory-Ex10a with a duration of hours minute second in good quality, which was uploaded by the user GRACE COLLEGE OF ENGINEERING 04 April 2022, share the link with friends and acquaintances, this video has already been watched 484 times on youtube and it was liked by 2 viewers. Enjoy your viewing!