Skip to main content

Rings in Python





What is Python, What is Python Programming language, Why Python, What is Python used forPython 3.10.010 reason why should you learn PythonWhy Python is best for beginner in programmingLearn Python for free



Rings in Python 

Hey guys, hope you enjoyed this video and knew something about turtle module and 3D designing in Python . So make sure to hit the like and subscribe button and also share this video to your friends and family so that they can also get some knowledge about this


Video's Link

                              


Source Code

'''
Created by Nikhil Mahato
Date = 2/2/22
From India
'''

import turtle

turtle.bgcolor('black')

turtle.speed(0)
turtle.pensize(2)
turtle.pencolor('red')

def drawCircle(radius):
    for i in range(10):
        turtle.circle(radius)
        radius =radius-4

def drawDesign():
    for i in range(10):
        drawCircle(150)
        turtle.right(36)

drawDesign()
turtle.done()

Comments

Post a Comment