+ 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)

18th Aug 2017, 2:53 PM
brunda vishishta i
brunda vishishta i - avatar
2 Réponses
+ 8
# Indentation error! a=(1,"spam",5,6) try: a[1]=1 except ValueError: print("1"*6) except TypeError: print("1"*4)
18th Aug 2017, 3:06 PM
Dev
Dev - avatar
+ 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
18th Aug 2017, 3:09 PM
AgentSmith
Aujourd'hui en vedette
.
1 Votes
What?
0 Votes
HTML
0 Votes
Web
0 Votes
Quiz duel
0 Votes
FRC Coding?
1 Votes
help
0 Votes
AI
2 Votes
APIs
1 Votes