+ 3

Meaning of Try: and Except: in Python

What is the meaning of the try: and except: statement in python,it was not noted in sololearn tutorial lesson.if others please note.

10th Dec 2019, 9:09 PM
Eāˆ†SIšŸ‡³šŸ‡¬šŸ¤–
Eāˆ†SIšŸ‡³šŸ‡¬šŸ¤– - avatar
2 Answers
+ 3
The try block lets you test a block of code for errors. The except block lets you handle errors.
11th Dec 2019, 4:31 PM
Indira
Indira - avatar