`TypeError: Can't convert 'int' object to str implicitly`
Python error messages `TypeError: can only concatenate str (not "int") to str`
Above the error message is the "traceback" also called the "call stack". This is a representation of the sequence of procedure calls that lead to the error. If the procedure call originated from code from a file, the filename would be listed after the word "File" on each line. If the procedure call originated from a notebook cell, then the word "ipython-input-...".
Above the error message is the "traceback" also called the "call stack". This is a representation of the sequence of procedure calls that lead to the error. If the procedure call originated from code from a file, the filename would be listed after the word "File" on each line. If the procedure call originated from a notebook cell, then we see the "ipython-input-...".
%% Cell type:markdown id: tags:
## Equality
...
...
@@ -393,11 +393,11 @@
False
%% Cell type:code id: tags:
``` python
(1,2)is(1,2)# tuples compared by value
(1,2)is(1,2)# if tuples are compared by reference or value, depends on your Python version