()
| 62 | writer.forward(distance=85) |
| 63 | |
| 64 | def setup(): |
| 65 | global second_hand, minute_hand, hour_hand, writer |
| 66 | mode("logo") |
| 67 | make_hand_shape("second_hand", 125, 25) |
| 68 | make_hand_shape("minute_hand", 115, 25) |
| 69 | make_hand_shape("hour_hand", 90, 25) |
| 70 | clockface(160) |
| 71 | second_hand = Turtle() |
| 72 | second_hand.shape("second_hand") |
| 73 | second_hand.color("gray20", "gray80") |
| 74 | minute_hand = Turtle() |
| 75 | minute_hand.shape("minute_hand") |
| 76 | minute_hand.color("blue1", "red1") |
| 77 | hour_hand = Turtle() |
| 78 | hour_hand.shape("hour_hand") |
| 79 | hour_hand.color("blue3", "red3") |
| 80 | for hand in second_hand, minute_hand, hour_hand: |
| 81 | hand.resizemode("user") |
| 82 | hand.shapesize(1, 1, 3) |
| 83 | hand.speed(0) |
| 84 | ht() |
| 85 | writer = Turtle() |
| 86 | writer.ht() |
| 87 | writer.pu() |
| 88 | writer.bk(85) |
| 89 | display_date_time() |
| 90 | |
| 91 | def wochentag(t): |
| 92 | wochentag = ["Monday", "Tuesday", "Wednesday", |
searching dependent graphs…