// b의 타입이 number일때 a+b를 return하고, b가 number가 아니라면 None을 return한다 // b의 타입이 int이거나 float이라면 a+b를 return하고, 위의 조건이 아니라면 None을 return def plus(a,b): if type(b) is int or type(b) is float: return a + b else: return None print(plus(12, 1.2)) 13.2 def age_check(age): print(f"you are {age}") //string안에 변수를 출력하는 문법 if age < 18: print("you cant drink") elif age == 18: print("you are new to this!") elif a..