import turtle

t = turtle.Turtle()
t.shape("turtle")

s = turtle.textinput("","도형을 입력하시오: ")
if s == "사각형":
    degree=90
    s = turtle.textinput("","가로: ")
    w= int(s)
    s = turtle.textinput("","세로: ")
    h= int(s)
    t.forward(w)
    t.left(degree)
    t.forward(h)
    t.left(degree)
    t.forward(w)
    t.left(degree)
    t.forward(h)
    t.left(degree)
elif s== "삼각형":
    degree= 120
    s = turtle.textinput("","길이: ")
    h= int(s)
    t.forward(h)
    t.left(degree)
    t.forward(h)
    t.left(degree)
    t.forward(h)
    t.left(degree)

elif s=="원":
    s = turtle.textinput("","반지름 길이: ")
    t.circle(int(s))
    
3615617d9027a7aee5249cd86f4c8b2114184d6c
<mask token>

<mask token>
t.shape('turtle')
<mask token>
if s == '사각형':
    degree = 90
    s = turtle.textinput('', '가로: ')
    w = int(s)
    s = turtle.textinput('', '세로: ')
    h = int(s)
    t.forward(w)
    t.left(degree)
    t.forward(h)
    t.left(degree)
    t.forward(w)
    t.left(degree)
    t.forward(h)
    t.left(degree)
elif s == '삼각형':
    degree = 120
    s = turtle.textinput('', '길이: ')
    h = int(s)
    t.forward(h)
    t.left(degree)
    t.forward(h)
    t.left(degree)
    t.forward(h)
    t.left(degree)
elif s == '원':
    s = turtle.textinput('', '반지름 길이: ')
    t.circle(int(s))

<mask token>
t = turtle.Turtle()
t.shape('turtle')
s = turtle.textinput('', '도형을 입력하시오: ')
if s == '사각형':
    degree = 90
    s = turtle.textinput('', '가로: ')
    w = int(s)
    s = turtle.textinput('', '세로: ')
    h = int(s)
    t.forward(w)
    t.left(degree)
    t.forward(h)
    t.left(degree)
    t.forward(w)
    t.left(degree)
    t.forward(h)
    t.left(degree)
elif s == '삼각형':
    degree = 120
    s = turtle.textinput('', '길이: ')
    h = int(s)
    t.forward(h)
    t.left(degree)
    t.forward(h)
    t.left(degree)
    t.forward(h)
    t.left(degree)
elif s == '원':
    s = turtle.textinput('', '반지름 길이: ')
    t.circle(int(s))

import turtle
t = turtle.Turtle()
t.shape('turtle')
s = turtle.textinput('', '도형을 입력하시오: ')
if s == '사각형':
    degree = 90
    s = turtle.textinput('', '가로: ')
    w = int(s)
    s = turtle.textinput('', '세로: ')
    h = int(s)
    t.forward(w)
    t.left(degree)
    t.forward(h)
    t.left(degree)
    t.forward(w)
    t.left(degree)
    t.forward(h)
    t.left(degree)
elif s == '삼각형':
    degree = 120
    s = turtle.textinput('', '길이: ')
    h = int(s)
    t.forward(h)
    t.left(degree)
    t.forward(h)
    t.left(degree)
    t.forward(h)
    t.left(degree)
elif s == '원':
    s = turtle.textinput('', '반지름 길이: ')
    t.circle(int(s))

import turtle

t = turtle.Turtle()
t.shape("turtle")

s = turtle.textinput("","도형을 입력하시오: ")
if s == "사각형":
    degree=90
    s = turtle.textinput("","가로: ")
    w= int(s)
    s = turtle.textinput("","세로: ")
    h= int(s)
    t.forward(w)
    t.left(degree)
    t.forward(h)
    t.left(degree)
    t.forward(w)
    t.left(degree)
    t.forward(h)
    t.left(degree)
elif s== "삼각형":
    degree= 120
    s = turtle.textinput("","길이: ")
    h= int(s)
    t.forward(h)
    t.left(degree)
    t.forward(h)
    t.left(degree)
    t.forward(h)
    t.left(degree)

elif s=="원":
    s = turtle.textinput("","반지름 길이: ")
    t.circle(int(s))
    