Which block will the statements be executed in after the try block if no exception is raised inside a try block? a. Try                     b. Except c.  Finally             d. else Check whether the...


Which block will the statements be executed in after the try block if no exception is raised inside a try block?


a. Try                     b. Except


c.  Finally             d. else


Check whether the following code is correct or not.


try:


# Do something except:


# Do something finally:


#Do something


a. Yes


b. No, finally cannot be used with except


c. No, finally can be used after try block


d. None of the above




May 18, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here