Exception

IstisnoPython

Misol

try:
    int("abc")
except ValueError:
    print("Son kerak")
Barcha atamalar