+ 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 Antworten
+ 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