dimanche 25 octobre 2015

How do I make a drawing using 1 While Loop, 1 If statement, and 2 variables?

Use Python turtle to draw any picture, meeting the following requirements:

  1. Code has to use least 2 well-named variables.
  2. Code has to use least 1 if-statement for a clear and reasonable. purpose.
  3. Code has to use 1 while loop for a clear and reasonable purpose.
  4. The picture has to draw 3 different shapes and also have 3 different colors.

I have no idea how to combine all of these factors together.

Could someone write a code which does this?

Aucun commentaire:

Enregistrer un commentaire