Circle |
Code:
# Draw circle in turtle
from turtle import *
radius = int(input("Enter the radius of the Circle: "))
# Drawing circle
circle(radius)
# It will keep output to wait for the click,
# Otherwise output will be disappear.
exitonclick()
Input:
Enter the radius of the Circle: 80
Output:
No comments:
Post a Comment