print('등신 계산기 (욕 아님, 몇등신인지 계산하는거)')
headsize = int(input('머리 크기(헤어라인부터 턱끝까지)가 몇센치인가요?'))
height = int(input('키가 몇인가요?'))
deungshin = height // headsize  # 정수 나누기 사용

if deungshin < 6:
    print("당신은 %d등신의 대두입니다." % (deungshin))
elif deungshin > 6:
    print("당신은 %d등신의 소두입니다." % (deungshin))
else:
    print("당신은 6등신입니다.")

Embed on website

To embed this program on your website, copy the following code and paste it into your website's HTML: