파이썬(python) 조건문 if, in, not in
# chapter 04_01 # 파이썬 제어문 # if 실습 # 기본형식 print(type(True)) # 0이 아닌 수 , "abc" , [1,2,3], {1,2,3}.... print(type(False)) # 0, "", {},() ... # 예제 1 if True: print('Good') if False: print('Bad') # 에제 2 if False: print('Bad') else: print('Good') # 관계 연산자 # >, >=, = y) # 오른쪽이 클때 print(x c ) # a > b > c print(a > b or b > c) print(not a > b) print(not b > c) print(not True) print(not False) print() # 산..