Обсуждения
print( 2**5 )
print( 9 ** (1/2) )
 0 голосов
 2 ответовprint( 9 ** (1/3) )
 1 голос
 11 ответовprint( False or True)
 1 голос
 12 ответовprint( input()*input() ) Error
 0 голосов
 2 ответовprint( 9 ** (1/2) )
 2 голосов
 4 ответовprint( 7 and '0' and 1)
 2 голосов
 5 ответовprint( 1==1 or 2==3) True: Really?
 0 голосов
 5 ответовfor i in range(0,20,   ): print( )
 0 голосов
 1 ответWhat is print( 2 * (2 + 2 ) )
 -3 голосов
 2 ответовIf 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 голосов
 2 ответовАктуальное сегодня
How to do a responsive page?
 1 Votes
Running a python code
 2 Votes
How create a new language ?
 0 Votes
Hola
 0 Votes
Ai in future
 1 Votes
How To Enable Disable Divs?
 0 Votes