I am trying to run python code in Thonny App.The problem is it displays pygame screen when running python code.How can I get rid of the pygame screen? ['!'enter image description here](https://i.sstatic.net/JfQvkkI2.png)
Just the python code result should be displayed not the pygame screen.
You have Pygame Zero mode turned on.
In the "Run" menu, there is an option for "Pygame Zero mode". Uncheck this option, and the screen will not appear.