Pages Menu
TwitterRssFacebook
Categories Menu

Posted by on Jul 11, 2018 in Uncategorized | 0 comments

Python Day 7

Today we learned about turtle. Turtle is a tool that draws stuff on python. I drew a lot of shapes using the

while counter > 0:
forward(25)
right(x)
counter -= 1

In the morning, we made code that computed factorials, counted down from any number to three, computed the sum of digits, and made a dog using python class, which a way to make things all follow a set of instructions but can be customized. We also used recursion.

Post a Reply

Your email address will not be published. Required fields are marked *