Python turtle window closes immediately after running from desktop
12:48 03 Dec 2021

I have recently coded 'snake' in python. I can run it from my IDE perfectly fine. However, on my desktop, I right click the file and 'open with python3.9' The window pops up but then immediatley closes. I've tried adding 'input()' at the end but it doesn't work. Any suggestions?

python turtle-graphics python-turtle