Session #02 - Coloured Shapes

Session #02: Thu, 17 Dec 2020, 6pm to 7.30pm - Coloured Shapes

Theory

--> Functions - penup(), pendown(), color(), begin_fill(), end_fill(), pensize(), shapesize(), speed(), hideturtle()

--> Calculate exterior angle by using the formula 360/n where n is the number of sides of polygon

Programs done in this session

#201. Program to display a staircase

#202. Program to display a staircase using variables

#203. Python program to draw a red square using variables

#204. Python program to draw a red square, blue rectangle, green triangle and brown circle using variables

Assignment Programs

#251. Program to draw pentagon, hexagon, octagon, nonagon and decagon with different colors. (Color names in the attachment)

Weekend Challenge

# Draw a your colourful dream house

How to submit the assignment and weekend challenge?

Upload the .py file and the output image in google classroom.

https://classroom.google.com/c/MjQ0NTA2MjM2MDI2?cjc=rvstkxr

When is the next class?

Tue, 22 Dec 2020, 6pm to 7.30pm

Regards,

Saravanan Ganesh

Complete and Continue  
Discussion

0 comments