def age_check(age):
print(f"you are {age} old")
if age < 18:
print("you cant drink")
elif age >=18 and age < 30:
print("you can drink soju")
else:
print("do what ever you want")
type_age = int(input("put your age here > "))
//인풋으로 값을 받아오는 변수 설정 int 형
age_check(type_age)
함수를 호출해서 type_age 값을 전달