American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

5 PM – Intro To Python – Gamas

January 17, 2023 @ 5:00 pm - 6:00 pm

Homework
  1. Modify draw_square function.
    1. Add one more parameter: fill. When the “fill” parameter is True, then do the begin_fill() and end_fill(). When it is False, then do not do begin_fill() and end_fill().
    2. After you do above, call the function like this draw_square(“red”, True) and the result should be red square with solid color.
    3. After you do above, call the function like this draw_square(“yellow”, False) and the result should be yellow square with no solid color.
  2. Modify draw_square function
    1. Add two more parameters: x, y.
    2. When calling draw_square(“red”, True, -100, -100), it will draw the square in coordinate (-100, -100)

Details

Date:
January 17, 2023
Time:
5:00 pm - 6:00 pm
Event Categories:
,
Verified by MonsterInsights