Tryexept dans Python

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