tryexept in python
try:
print(x)
except:
print("An exception occurred")
looop amir
try:
print(x)
except:
print("An exception occurred")