American Young Coder Academy – Indo

Loading Events

« All Events

  • This event has passed.

6 PM – Intro To Python – Shawn

July 18, 2023 @ 5:00 pm - 6:00 pm

Today We Did
  1. Turtle review (last week):
    1. turtle.goto(x, y) — move to particular spot on screen
    2. turtle.fill(color) — fill shape with color
    3. turtle.penup(), turtle.pendown() — lift pen up and down
    4. turtle.color(color) — set color of outline
    5. turtle.bgcolor(color) — set background color
    6. turtle.speed(speed) — change speed of turtle
    7. more commands: https://www.pythonsandbox.com/docs/turtle
  2. Finished RobotBuilder
    1. Created draw_rectangle() function
  3. New turtle commands
    1. turtle.forward(distance) — move forward some distance the turtle is facing
    2. turtle.left(degrees), turtle.right(degrees) — rotate turtle left/right degrees
    3. turtle.setheading(degrees) — turtle.left() always relative to arrow facing right
  4. Drew several shapes (faces, polygon, letter a, circle)

Homework

  1. Keep modifying the file called Jul18_ManyShapes.py (in the google drive). Finish the happy face in the following picture (feel free to draw the rest as well):
  2. Create your final project proposal following all the guidelines here: https://indo.ayclogic.com/intro-to-python-final-project-criteria/. This should be a drawing of what your project will look like, using physical paper and pen/pencils. Upload a picture into the drive. Examples are below.

If you have questions, feel free to email szhuang@ayclogic.com

Details

Date:
July 18, 2023
Time:
5:00 pm - 6:00 pm
Verified by MonsterInsights