Programming for Kids

Using the print function only, draw the following figure on the screen
    *
   * *
  * * *
 * * * *
* * * * *
    *
    *
  * * *
  
Build a multiplication column for a certain number
  1. Select a number, e.g. 7, multiply it by another number, e.g. 3, and print the result on the screen using the following format:
    7 x 3 = 21
    Make sure you do not hard-code the result, e.g. 21, but you have python calculate it.

  2. Now extend the previous code and use a for-loop to repeat the above command for a range of numbers, e.g. from 1 to 10:
    1 x 3 = 3
    2 x 3 = 6
    3 x 3 = 9
    4 x 3 = 12
    5 x 3 = 15
    6 x 3 = 18
    7 x 3 = 21
    8 x 3 = 24
    9 x 3 = 27
    10 x 3 = 30
        
  3. Extra credit: Add a call to input() so that the user decides which number the multiplication column is for
Use the turtle module to draw the following star on the screen
Use the turtle module and the for construct to generate the following meander on the screen