Question: in Python please!! Write a program named lesthom.inssmom chock:py) to display a clock face with hands showing the current time. The radius of the clock

 in Python please!! Write a program named lesthom.inssmom chock:py) to display

in Python please!!

Write a program named lesthom.inssmom chock:py) 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 Fsusre cursor shape (hintta)) for the hour markers and center of the clock (Figure 2a), using the sue 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 20. The images are reduced in size to fit on the page be Figure 2 Figure 2b Figure 2c t the hour and minute, use the following code. Note that the code uses %12 on the hour to get a number in the 11, so both noon and midnight work out to zero. (This makes the calculations much easier, believe it or not!) To ge range O to 11. so both noon and inoort datetine Things to Note . used cROtodraw the c kface. You can use it ps well or draw the circde yourself,or just a 12-sided clock face The position of the hour hand is a combination ofthe hour ond minute. In the preceding figures (all made 8:50 a.m). the hour hand is not pointing at 8. it is almost all the way to the 9

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!