Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a = []
- >>>a=a+1 #it gives me expected concatenate error
- TypeError: can only concatenate list (not "int") to list
- >>>a+=1 #but this wasn't
- TypeError: 'int' object is not iterable
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement