dimanche 24 octobre 2021

how does this work python 3.10.0 if loops loops work

so I have just installed python 3.10 and I tried to make a loop in it for making a square for a friend I'm challenging on(my friend doesn't know how to code so I gave them a simple challenge) and um I ran into a simple problem in 3.10.0

python 3.10.0 
import turtle

pen = turtle.Turtle()

 Var1 = 1

if Var1 < 4,  Var1 i++, :
    pen.rotate(90)
    pen.forward(200)

turtle.done()

and for some idiotic reason it didn't run

please help

from crispy

Aucun commentaire:

Enregistrer un commentaire