Turtle Brief display

Problem description

When I try to use the python with turtle, running the program only displays the turtle for 1/2 of a second. HOw do I fix this?

Expected behavior

turtle should show my code. Eg- turtle.shape(“square”)

Actual behavior

The turtle displays my code but disappears after 1/2 a second

Steps to reproduce

dont know how to change the program

Browser

Chrome

OS

Windows XI

Device if mobile

N/A

Plan

free tier

Hey @YashNadhavajha1!

Try adding input() or turtle.mainloop() to the end of your code.

2 Likes