Week the Fourth: Dermochelys Coriacea
Hello again, everyone, sorry for the late debrief! During this meeting we discussed various solutions to the RockPaperScissors and PigLatin assignments. Please please make sure you understand the PigLatin code. If you can't follow it, please send me any questions.
As noted on our calendar, the Programming in Python project will NOT be meeting next week on 10/31. If you show up next week, you will look silly.
In addition, I asked everyone to try a new python assignment using the turtle graphics package. This is a fun way to improve you python skills while you make pretty pictures.
For this assignment, write python code that makes:
- Five-pointed star
- Square spiral (or a circular spiral if you want to have more fun!)
- Olympic rings
- Lockheed Martin logo
- Appropriate picture of your choice (you can search google for spirograph to get some cool ideas). If you email me your screen shots (please crop them and save them as jpegs), I will post the pictures here.
As usual, please use all your python tools (loops, functions, lists) to make your code clear and concise. Here's a sample you can try at the python prompt:
Python 2.4.1 (#65, Mar 30 2005, 09:13:57) [MSC v.1310 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from turtle import *
>>> p = Pen()
>>> for i in range(0,4):
... p.forward(30)
... p.left(90)
...
>>>
Have fun. If you have any questions, post here or send me an email.