Untitled

Anonymous
plain_text
03/01/2026 4:42 PM
572 B
14
Indexable
from turtle import *

def day():
    color("yellow")
    pensize(2)
    begin_fill()
    for i in range(18):
        forward(100)
        left(100)
    end_fill()

def night():
    color("bisque")
    pensize(2)
    begin_fill()
    circle(50)
    end_fill()

answer = input("What time of day is it now (day/night)?")
if answer == "day":
    day()
else:
    night()      

hideturtle()
exitonclick()    
Editor is loading...
Leave a Comment