Question
a) Write a program that draws polygonal spirals. Your program will ask for a number of sides, how many lines to draw in total, and
a) Write a program that draws polygonal spirals. Your program will ask for a number of "sides", how many lines to draw in total, and what percentage of increase to use for each arm of the spiral. The length of the first arm of the spiral is 10, with a heading of zero degrees.
b) Write a program to display a clock face with hands showing the current time. The radius of the clock face (the distance from the center to the hour markers) is 150. The hour hand has length 100, and the minute hand has a length of 120. You may design the clock in one of three ways: using the square cursor shape (hint: stamp()) for the hour markers and center of the clock (Figure 2a), using the square cursor shape for the hour markers and adding a circle for the face (Figure 2b), or by drawing small rectangles for the hour markers and center of the face (Figure 2c).
in python please!
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started