Ask coding questions
How can I run the script which contains pygame window.
You'll have to create a new repl and select Pygame instead of Python for the language.
You are using a Python repl.You have to use a Pygame repl.https://repl.it/languages/pygame
If this answers your question, please check the checkmark on the left side of this message. Thanks and Good Luck!