Skip to content

Instantly share code, notes, and snippets.

@myusuf3
Created January 30, 2012 04:40
Show Gist options
  • Save myusuf3/1702579 to your computer and use it in GitHub Desktop.
Save myusuf3/1702579 to your computer and use it in GitHub Desktop.
Type Errors
>>> a = 10
>>> b = 'ten'
>>> a + b
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: unsupported operand type(s) for +: 'int' and 'str'
>>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment