함수
def print_ntimes():
print("대신증권")
반환값이 있는 함수
def cal_upper(price):
increment = price * 0.3
upper_price = price + increment
return upper_price
두개의 값 반환
def cal_upper_lower(price):
offset = price * 0.3
upper = price + offset
lower = price - offset
return (upper, lower)
(upper, lower) = cal_upper_lower(10000)