You are on page 1of 2

import turtle

turtle.color("white")
num= turtle.numinput(title="meme" , prompt="Choose your
meme:\n1:Baekhyun\n2:Sehun\n3:Vivi\n4:Drake\n5:Chanyeol")
font= turtle.numinput(title="font" , prompt="Choose your
font:\n1:Impact\n2:Arial\n3:Tahoma\n4:Vernada\n5:Comic Sans MS")
turtle.hideturtle()

if font==1:
font="Impact"
elif font==2:
font="Arial"
elif font==3:
font="Tahoma"
elif font==4:
font="Vernada"
elif font==5:
font="Comic Sans MS"

if num ==5:
turtle.color("black")
color=("white")
turtle.bgpic(picname="5.gif")
turtle.setup(width=500 , height=542)
answer1 = turtle.textinput(title="Title ", prompt="Enter Top Text ")
turtle.penup()
topy=150
answer2 = turtle.textinput(title="Title ", prompt="Enter Bottom Text ")
bottomy= -150
cornerD=-20

elif num==4:
turtle.color("black")
color=("#dcf441")
turtle.bgpic(picname="4.gif")
turtle.setup(width=600 , height=600)
answer1 = turtle.textinput(title="Title ", prompt="Enter Top Text ")
turtle.penup()
topy = 150
answer2 = turtle.textinput(title="Title ", prompt="Enter Bottom Text ")
bottomy = -150
cornerD=-5

elif num==3:
turtle.color("black")
color=("#52f441")
turtle.bgpic(picname="3.gif")
turtle.setup(width=400, height=360)
answer1 = turtle.textinput(title="Title ", prompt="Enter Top Text ")
turtle.penup()
topy = 80
answer2 = turtle.textinput(title="Title ", prompt="Enter Bottom Text ")
bottomy = -150
cornerD= -10

elif num==2:
turtle.color("black")
color="red"

turtle.bgpic(picname="sehun e.gif")
turtle.setup(width=640, height=636)
answer1 = turtle.textinput(title="Title ", prompt="Enter Top Text ")
turtle.penup()
topy = 150
answer2 = turtle.textinput(title="Title ", prompt="Enter Bottom Text ")
bottomy = -250
cornerD=-10

elif num==1:
turtle.color("black")
color= "#f4dc41"
turtle.bgpic(picname="baek e.gif")
turtle.setup(width=500, height=300)
answer1 = turtle.textinput(title="Title ", prompt="Enter Top Text ")
turtle.penup()
topy = 50
answer2 = turtle.textinput(title="Title ", prompt="Enter Bottom Text ")
bottomy = -120
cornerD=-5

turtle.goto(0,topy)
turtle.write(arg=answer1, move=True, align="center", font=(font, 48, "normal"))
turtle.goto(0,bottomy)
turtle.write(arg=answer2, move=False, align="center", font=(font, 48, "normal"))
turtle.color(color)
turtle.goto(-5,topy)
turtle.write(arg=answer1, move=True, align="center", font=(font, 48, "normal"))
turtle.goto(-5,bottomy)
turtle.write(arg=answer2, move=False, align="center", font=(font, 48, "normal"))

turtle.penup()
cornerD=bottomy-15
cornerR= cornerD+2
turtle.goto(cornerR,cornerD)
turtle.color("#cef442")
turtle.pendown()
turtle.write(arg="nnizcha", move=False, align="left", font=("Impact", 15,
"normal"))
turtle.goto(cornerR,cornerD)
turtle.write(arg="nnizcha", move=False, align="left", font=("Impact", 15,
"normal"))

turtle.exitonclick()