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
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here