Output dissapiers in all new drawings

Output dissapiers in all new drawings but if i Get an 3 mounths old prosjekt. Than Every… thing works
Its om iPad and pc. Så what can i do to fins this

Expected vs Current Behavior:

Steps to reproduce:

Bug appears at this link: https://replit.com/@steinisof/Vinkler-2#main.py

Screenshot(s)/Screen Recording:

Browser/OS/Device: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.6 Safari/605.1.15

Replit Profile: https://replit.com/@steinisof

Hi @steinisof , welcome to the forums!
At the last line of your program, add this line:

turtle.mainloop()

This prevents the Output from clearing.
Hope this helps!

Hei. Thanks that woorkt :slightly_smiling_face::+1:

tir. 31. okt. 2023, 12:01 skrev NateDhaliwal on all the forums! via Replit Ask <notifications@replitteams.discoursemail.com>:

Hey @steinisof!

Please mark this post as the solution if it solved your problem so people with the same issue can easily find the solution.

cc: @QwertyQwerty88 @dragonhunter1 @MattDESTROYER @Firepup650 @CoderElijah

1 Like

Hei, this works only iif i have the loop but not without it .

Like if i wright:

from turtle import *
Skape («turtle»)

forward(100)
left(60)
forward(100)

Then it dont woork. Om using this for math work to draw figurs.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.