Computer Science, asked by PRANAYCHOWDARY, 7 months ago

Discuss about try except block with example
in Python?

Answers

Answered by csshivani1729
0

Explanation:

India is a federal (or quasi-federal) democratic republic with a parliamentary system of government largely based on the UK model.

Answered by hodeee4
1

ANSWER

  • The try block lets you test a block of code for errors
  • The except block lets you handle the error.
  • The finally block lets you execute code, regardless of the result of the try- and except blocks.
Similar questions