I am copying the text on the textbook for pygame but it is coming out as error when i run the code.Pls see the attached photo.[attachment=2449]I am copying the text on the textbook for pygame but it is coming out as error when i run the code.Pls see the attached photo.
In Python, assignment is done using =, not +. running+True does not assign True as the value of running. Instead use running = True. Same goes for gamewindow.
Next time post code as text, not images. If you post text I would've corrected the text and posted it back.
Thank you DEAN...
Post the querry in text next time...