Skip to content

Use Python to display a clock on the screen, a digital clock first, then an analogue clock with turtles for the hands.

Notifications You must be signed in to change notification settings

WokLibCodeClub/Python-Clock

Repository files navigation

Python Clock

The clock in the classroom has broken! How will we know when it's time to go home?

This is a project to use Python turtles to generate a clock which we can display on the screen to show everyone what the time is.

The first part of the project shows how to find out what the exact time is, and display it as a digital clock.

The more exciting part of the project is to use Python turtles to draw an old-fashioned analogue clock on the screen and have the hands move to show the time. You will be able to use your knowledge to design a personalised clock with your choice of lettering and style of hands.

Clock example

Special Note:

These instructions were originally written for creating a project with a standalone Python installation on your computer (for example using the Python IDLE editor, or alternatively Visual Studio Code).

If you want to code the clock using the online editor trinket.io you will find the instructions for making the digital clock will work almost exactly the same, but for the analogue clock you should look for the special trinket instructions in Step 3.

Let's get started...

Go to Step 1

About

Use Python to display a clock on the screen, a digital clock first, then an analogue clock with turtles for the hands.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages