[자기계발]/유튜브로 코딩배우기
2021. 2. 1.
<Nomad Coders> 파이썬 1.9~ 1.12
#1.10 if else and or def age_check(age): print(f"you are {age}") if age 20 and age < 25: print("you are still kind of young") else: print("enjoy your drink") age_check(29) 결과: you are 29 enjoy your drink def stock_check(stock): print(f"your stock price is {stock}") if stock < 20000: print ("you sh..