I have copied and pasted the code into Idle, the Python shell and keep coming up with the same syntax ...
stackoverflow.com