#
# µû¶óÇÏ¸ç ¹è¿ì´Â ÆÄÀ̽ã°ú µ¥ÀÌÅÍ°úÇÐ(»ý´ÉÃâÆÇ»ç 2020)
# LAB 4-1 ÀÔ·Â ¼ýÀÚ¿¡ µû¶ó ÅÍƲ ±×·¡ÇÈÀ» Á¦¾îÇغ¸ÀÚ, 99ÂÊ
#
import turtle
t = turtle.Turtle()
t.shape("turtle")
t.penup()
t.goto(100, 0)
t.write("x°¡ yº¸´Ù Å©´Ù.")
t.goto(-100, 0)
t.write("y°¡ xº¸´Ù Å©´Ù.")
t.goto(0, 100)
t.write("µÎ ¼ö´Â °°´Ù.")
t.goto(0, 0)
t.pendown()
x = int(turtle.textinput("", "ù ¹ø° ¼ýÀÚ¸¦ ÀÔ·ÂÇϽÿÀ: "))
y = int(turtle.textinput("", "µÎ ¹ø° ¼ýÀÚ¸¦ ÀÔ·ÂÇϽÿÀ: "))
if x > y :
t.goto(100, 0)
if x == y :
t.goto(0, 100)
if x < y :
t.goto(-100, 0)
turtle.done()