- This event has passed.
11 AM – Intro To Python – Gamas
October 17 @ 11:00 am - 12:00 pm
Today We Did
- We created draw_triangle(x,y,color) function
- We learned how to use if elif and else statement so user can choose which shape to draw.
Homework
Add code inside oct_17_multi_shape_if_else.py so it can draw the following shapes
-
- if user enters “robot faces”, draw 2 robot faces from aug_29_face_with_function.py.
- if user enters “car”, draw a car from one of your old homework file.
- if user enters “train” draw a train from Oct3trainhw.py