Assignment Exception Handling
Assignment Exception Handling
Introduction
This assignment will help you to consolidate the concepts learnt in the session.
2.Problem Statement
1. Write a function to compute 5/0 and use try/except to catch the exceptions.
Hint: Subject,Verb and Object should be declared in the program as shown below.
subjects=["Americans ","Indians"]
verbs=["play","watch"]
objects=["Baseball","Cricket"]
NOTE:ThesolutionsharedthroughGithubshouldcontainthesource codeusedandthe
screenshotoftheoutput.
3.Output
This assignment consists of 200 marks and the solution file needs to be submitted in the
upcoming session in .ipynb format for evaluation.