Simple Python Data, Turtle Graphics, and Iteration

Logistics

  • Due: Tuesday, May 19th no later than 5pm.
  • Submission instructions: complete the assigned number of activities in each of the assigned subsections of Chapters 2 and 4. You do not need to submit anything to Brightspace.
  • Deadline reminder: once this deadline passes, Runestone Interactive will no longer allow you to collect points for completing the activities.

Key ideas from chapter 2:

  • Simple python types: int(eger), float, str(ing)
  • Determing type: type
  • Declaring and using variables
  • Assignment token: =
  • Arithmetic operators: +, -, *, /, //, %, **
  • User input: input

From chapter 4:

  • Turtle Module Methods
    • Creation: turtle
    • Movement: forward, backward, goto
    • x, y orientation: right, left
    • Pen control: up, down, pensize
    • Drawing Color: color, fillcolor, begin_fill, end_fill
    • Status: heading, position
    • Turtle type: shape, e.g. arrow, classic, turtle or circle
    • Turtle Imprints: stamp, dot
  • Looping Construct: for
  • onclick(), onrelease(), ondrag() from turtle online documentation

Assignment

Grading - 10 points

  • 10 points - the required number of activities were completed for each subsection before the deadline.

Grading turnaround

This reading assignment will be graded with scores in Brightspace by 12pm the following day (May 20th).