This script won't compile. I wanted to made a simple 21-style game for practice but I get an error:
X@X:~/Desktop$ python 21.py File "21.py",
line 18
int(ptotal) = ptotal + newcard
SyntaxError: can't assign to function call
Here's the code. Can anyone please help me? I'm obviously a beginner and the code is pretty sloppy.