Draw Clock Design using Turtle in Python Last Updated : 15 Jul, 2025 Comments Improve Suggest changes 1 Likes Like Report Prerequisites: Turtle Programming in Python Turtle is an inbuilt module in Python. It provides drawing using a screen (cardboard) and turtle (pen). To draw something on the screen, we need to move the turtle (pen). To move turtle, there are some functions i.e forward(), backward(), etc. To draw Clock Design : Following steps are used : Import turtle.Create Screen object and set Screen configuration.Create Turtle object and set its position and speed.Draw a dashed line and print number in circular shape.Draw center and fill color black in itWrite "GFG" and "CLOCK" at required position. Below is the implementation: Python3 # import package import turtle # create a Screen Object screen = turtle.Screen() # Screen configuration screen.setup(500, 500) # Make turtle Object clk = turtle.Turtle() # set a Turtle object color clk.color('Green') # set a Turtle object width clk.width(4) def draw_hour_hand(): clk.penup() clk.home() clk.right(90) clk.pendown() clk.forward(100) # value for numbers in clock val = 0 # loop for print clock numbers for i in range(12): # increment value by 1 val += 1 # move turtle in air clk.penup() # for circular motion clk.setheading(-30 * (i + 3) + 75) # move forward for space clk.forward(22) # move turtle to surface clk.pendown() # move forward for dash line clk.forward(15) # move turtle in air clk.penup() # move forward for space clk.forward(20) # write clock integer clk.write(str(val), align="center", font=("Arial", 12, "normal")) # colored centre by setting position # sets position of turtle at given position clk.setpos(2, -112) clk.pendown() clk.width(2) # To fill color green clk.fillcolor('Green') # start filling clk.begin_fill() # make a circle of radius 5 clk.circle(5) # end filling clk.end_fill() clk.penup() draw_hour_hand() clk.setpos(-20, -64) clk.pendown() clk.penup() # Write Clock by setting position clk.setpos(-30, -170) clk.pendown() clk.write(' GfG Clock', font=("Arial", 14, "normal")) clk.hideturtle() turtle.done() Output: Create Quiz Comment D deepanshu_rustagi Follow 1 Improve D deepanshu_rustagi Follow 1 Improve Article Tags : Python Python-turtle Python-projects Explore Python FundamentalsPython Introduction 2 min read Input and Output in Python 4 min read Python Variables 4 min read Python Operators 4 min read Python Keywords 2 min read Python Data Types 8 min read Conditional Statements in Python 3 min read Loops in Python - For, While and Nested Loops 5 min read Python Functions 5 min read Recursion in Python 4 min read Python Lambda Functions 5 min read Python Data StructuresPython String 5 min read Python Lists 4 min read Python Tuples 4 min read Python Dictionary 3 min read Python Sets 6 min read Python Arrays 7 min read List Comprehension in Python 4 min read Advanced PythonPython OOP Concepts 11 min read Python Exception Handling 5 min read File Handling in Python 4 min read Python Database Tutorial 4 min read Python MongoDB Tutorial 3 min read Python MySQL 9 min read Python Packages 10 min read Python Modules 3 min read Python DSA Libraries 15 min read List of Python GUI Library and Packages 3 min read Data Science with PythonNumPy Tutorial - Python Library 3 min read Pandas Tutorial 4 min read Matplotlib Tutorial 5 min read Python Seaborn Tutorial 3 min read StatsModel Library - Tutorial 3 min read Learning Model Building in Scikit-learn 6 min read TensorFlow Tutorial 2 min read PyTorch Tutorial 6 min read Web Development with PythonFlask Tutorial 8 min read Django Tutorial | Learn Django Framework 7 min read Django ORM - Inserting, Updating & Deleting Data 4 min read Templating With Jinja2 in Flask 6 min read Django Templates 5 min read Build a REST API using Flask - Python 3 min read Building a Simple API with Django REST Framework 3 min read Python PracticePython Quiz 1 min read Python Coding Practice 1 min read Python Interview Questions and Answers 15+ min read Like