Reference no: EM133548791
Once upon a time, in a land called Turtleland, there was a talented young artist named Timmy the Turtle. Timmy was renowned for his ability to design mesmerizing art using a variety of shapes and colors. One day, the Queen of Turtleland, Queen Shelley, called upon Timmy to design a mural for the Great Turtleland Castle. She wanted the mural to include various shapes, such as squares, circles, and triangles, in a range of sizes and vibrant colors.
Timmy decided to use his favorite tool, Python 3, to accomplish this task. He developed a script that would draw shapes in random positions with different sizes and colors on the castle walls. He also added a touch of magic by using loops and conditional statements to produce unique patterns. As he started the script, shapes began appearing on the wall, each more magnificent than the last. Squares, circles, and triangles in different sizes and colors materialized, creating a mesmerizing pattern that left everyone in awe. The castle walls had never been so full of life and color.
Queen Shelley was overjoyed with Timmy's work on the castle, praising his ingenuity and artistic skill. The mural became a symbol of Turtleland's creativity and unity, inspiring young turtles all over the kingdom to embrace the power of art and coding. And so, Timmy the Turtle's mural stood as a testament to the magic that could be achieved when art, imagination, and code combined, and the kingdom of Turtleland lived happily ever after.
The Python turtle graphics documentation can be found here (https://docs.python.org/3/library/turtle.html).
Keep in mind that you will revisit this code in a later project, but don't get hung up on that. Avoid any advanced features or complicated mathematics for this project-try more complex stuff later when you have more experience.
CODE REQUIREMENTS:
Automatically-graded scoring (45 points) (10) Have at least one if statement in the code. (10) Use at least one for loop to draw shapes. (10) Use at least one while loop to draw shapes. (10) Make a function for each basic shape. (5) The program contains a main function with conditional execution.
Manually graded scoring (55 points) (25) Draw some basic shapes with colors on the screen. (25) Draw shapes with different sizes and colors. (5) All variable names and the code follows Python snake case or camelcase.