Member-only story

Avatar Logo in Python using Turtle

Python Coding
Aug 18, 2024

--

from turtle import *
speed(0)
bgcolor('black')
color('orange')
hideturtle()
n=1
p=True
while True:
circle(n)
if p:
n=n-1
else:
n=n+1
if n==0 or n==60:
p=not p
left(1)
forward(3)

#Source Code --> clcoding.com

--

--

Python Coding
Python Coding

Written by Python Coding

Learn python tips and tricks with code I Share your knowledge with us to help society. Python Quiz: https://www.clcoding.com/p/quiz-questions.html

No responses yet