Q1 = input("1. 발표를 할 때 긴장이 되니? (y/n)\n") 
if Q1 == 'y':
    Q2 = input("2. 너는 친구들과 잘 지내니? (y/n) \n")
    if Q2 == 'y':
        print("당신은 부끄러움 많은 토끼 성격입니다! 🐰")
    elif Q2 == 'n':
        print("당신은 툴툴대는 악어 성격입니다! 🐊")
    else:
        print("다시 시도하세요")
elif Q2 == 'n':
    Q2 = input("2. 너는 친구들과 잘 지내니? (y/n) \n")
    if Q2 == 'y':
        print("당신은 활발한 병아리 성격입니다! 🐥")
    elif Q2 == 'n':
        print("당신은 장난끼 많은 독수리 성격입니다! 🦅")
    else:
        print("다시 시도하세요")

Embed on website

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