¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuitaSesiones de PyR
Spam Eggs?
0 Votos
5 RespuestasSoloLearn compile limit?
0 Votos
8 RespuestasSuggestion
2 Votos
2 RespuestasWhat are logical errors?
2 Votos
4 RespuestasIf except can handle common errors very well, doesn't that make the use of raise redundant inside of a try-except block?
For example:
try:
print( 5 / 0 )
except ZeroDivisionError:
raise ValueError("An error occurred!")
What's the difference if we handle it this way:
try:
print( 5 / 0 )
except (ZeroDivisionError, ValueError):
print("An error occurred!")
3 Votos
2 Respuestascan you help me?
0 Votos
2 RespuestasEn tendencia hoy
Media on HTML
0 Votes
Is Sololearn better or Mimo.org?
1 Votes
Code Playground
0 Votes
How to solve this
1 Votes
Java project
0 Votes
Editor HTML
0 Votes
Jungle capming
0 Votes