I think you are using a basic Python repl.You have to use a Python with Turtle repl.https://repl.it/languages/python_turtle
If this answers your question, please check the checkmark on the left side of this message. Thanks and Good Luck!
@vedprad1 Thank You!!
@pdn2178 : If that worked, could you please mark my answer as correct? Thanks!