We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1397b6 commit 8d7a95aCopy full SHA for 8d7a95a
Roadmap/10 - EXCEPCIONES/python/mordevspt.py
@@ -118,4 +118,8 @@ def ticketSale(name,age):
118
except ValueError as ve:
119
print(f"ValueError - Se ha producido un error [{str(ve)}]")
120
except Exception as e:
121
- print(f"Exception - Se ha producido un error [{str(e)}]")
+ print(f"Exception - Se ha producido un error [{str(e)}]")
122
+else:
123
+ print("No se han producido errores")
124
+finally:
125
+ print("El programa ha finalizado")
0 commit comments