boob=input("enter your girlfriend's cup :")
if boob == 'A-'or'a-':
print("I want to make you feel better, but I don't know what to say")
else :
if boob == 'A'or'a':
print("i'm sorry to hear that")
else:
if boob == 'A+'or'a+':
print("not bad")
else:
if boob == 'B-'or'b-':
print("so so ")
else:
if boob =='B'or'b':
print("fine")
else:
print("i envy you!!!!")
왜틀린거죠? 컵 사이즈 다르게 입력해도 계속 I want to make you feel better, but I don't know what to say만 출력되요
잘못친거임??
빈유가좋아요
if boob == 'A-' or boob == 'a-'로 바꾸셔야 함. 이게 귀찮으면 if boob in ['A-','a-']: 같은 트릭도 괜찮음
다른 것도 다 그런 식으로 바꾸세요