homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Anthony C
Recipients Anthony C
Date 2015年11月05日.02:00:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1446688819.99.0.0895353718927.issue25552@psf.upfronthosting.co.za>
In-reply-to
Content
Making this simple code to mess with turtle well it seems like after awhile I have encountered the window = turtle.Screen() doesnt seem to even open it up only the shell window and does nothing afterwards. Its quite annoying especially trying to practice with it and it doesnt work.
import turtle
def draw_square(some_turtle) :
 for i in range(1,5) :
 some_turtle.forward(100)
 some_turtle.right(90)
def draw_art() :
 window = turtle.Screen()
 window.bgcolor("red")
 brad = turtle.Turtle()
 brad.shape("turtle")
 brad.color("blue")
 brad.speed(2)
 for i in range (1,4) :
 draw_square(brad)
 brad.right(10)
 window.exitonclick()
History
Date User Action Args
2015年11月05日 02:00:20Anthony Csetrecipients: + Anthony C
2015年11月05日 02:00:19Anthony Csetmessageid: <1446688819.99.0.0895353718927.issue25552@psf.upfronthosting.co.za>
2015年11月05日 02:00:19Anthony Clinkissue25552 messages
2015年11月05日 02:00:18Anthony Ccreate

AltStyle によって変換されたページ (->オリジナル) /