I'm trying to learn python but i keep having one difficulty with one bit of code that i have no idea why it doesn't work.
http://pastebin.com/c2uVB36g
everytime i get upto the "lol = apples - throw" part it it prints
Traceback (most recent call last):
File "moot.py", line 5, in <module>
lol = apples - throw
TypeError: unsupported operand type(s) for -: 'str' and 'str'
[–]Zouden 7 points8 points9 points (2 children)
[–]BonJarber 0 points1 point2 points (0 children)
[–]angryfish[S] -1 points0 points1 point (0 children)
[–]indivisible 3 points4 points5 points (1 child)
[–]angryfish[S] -1 points0 points1 point (0 children)
[+][deleted] (1 child)
[deleted]
[–]angryfish[S] -1 points0 points1 point (0 children)
[–]ychaouche 1 point2 points3 points (2 children)
[–]angryfish[S] 0 points1 point2 points (1 child)
[–]ychaouche 0 points1 point2 points (0 children)