TEAMLAB-Lecture / python-101-for-data-science-by-pknu

1 stars 14 forks source link

baseball_game.py 마지막에서 두번째 문제에 관한 질문 #32

Closed 54162476 closed 2 years ago

54162476 commented 2 years ago
def is_yes(one_more_input):
one_more_input.upper()
    if one_more_input == "Y" or "YES":
        result = True
    else :
        result = False

이렇게 코드를 짰는데 결과값이 제대로 나오지 않습니다. 어디서 문제가 발생했는지 모르겠습니다.