day 3-6 python (다중 연속 if 문)
if/elif/else Multiple if if condition1: do A elif condition2: do B else: do C if condition1: do A if condition2: do B if condition3: do C A, B, C 중 어느 하나만 수행함 A,B,C 세가지 조건을 확인 후 모두 참이라면 A,B,C가 작동 # 다중 연속 if문 print("Welcome to the rollercoaster!") height = int(input("What is your height in cm? ")) #################################################### bill = 0 if height >= 120: print("You can ride ..
2023.02.22