String vs int



examples/basics/str_int.py
x = 2
y = "2"

print(x)
print(y)

print(x + 1)
print(y + 1)

2
2
3
Traceback (most recent call last):
  File "/home/gabor/work/slides/python/examples/basics/str_int.py", line 9, in <module>
    print(y + 1)
TypeError: can only concatenate str (not "int") to str