Is the following Python code valid?

try:

# Do something

except:

# Do something

finally:

# Do something

1
no, there is no such thing as finally
2
no, finally cannot be used with except
3
no, finally must come before except
4
yes

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation