+ 2
What error is risen by this code?
a=(1,"spam",5,6) try: a[1]=1 except ValueError: print("1"*6) except TypeError: print("1"*4)
2 ответов
+ 8
# Indentation error!
a=(1,"spam",5,6)
try:
a[1]=1
except ValueError:
print("1"*6)
except TypeError:
print("1"*4)
+ 2
Python is so cute. You know, one of those things you say "Awwww" to but you don't actually ever bring it home with you because you already have a real dog. :D