Python Error output

Strange. Works fine on my end. Have you tried closing the file and re-running it?