I am rather new to using PyCharm by JetBrains, but I am just messing around with tkinter and turtle-graphics and whenever I run some code for example:
t = turtle.Pen()
t.forward(50)
PyCharm will successfully create a turtle window and draw the line, however, the window opened just closes instantly. The same goes if I use tkinter.
Is there anyway to stop PyCharm doing this, and keep the window open?