Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtisQ&A DiscussƵes
print( 9 ** (1/3) )
1 Voto
11 Respostasprint( 9 ** (1/2) )
2 Votos
4 Respostasprint( 7 and '0' and 1)
2 Votos
5 Respostasprint( 9 ** (1/2) )
0 Voto
3 RespostasWhat is print( 2 * (2 + 2 ) )
-3 Votos
2 RespostasIf 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 RespostasQuente hoje
Quick question in python.
1 Votes
Whatās wrong with this???
0 Votes
What's wrong with these codes?
1 Votes
What can i do with bits
2 Votes
Arrays
0 Votes
Is it A Bug or A Feature?
0 Votes
Guys, itās about streak
0 Votes
I can't add friends
2 Votes
Was there a Go course?
0 Votes