In This Post, I'll show you how to create a Virus look-alike using Turtle Graphics in Python.
Step By Step
Step 1:
import turtle
from turtle import *
Step 2:
speed(10)
color('red')
bgcolor('black')
b=200
Step 3:
while b>0:
left(b)
forward(b*2)
b=b-1
Complete Code:
import turtle
from turtle import *
speed(10)
color('red')
bgcolor('black')
b=200
while b>0:
left(b)
forward(b*2)
b=b-1
Comments