
def solution(price):
answer = 0
if price>=100000:
price*0.95
elif price >=300000:
price * 0.9
elif price >= 500000:
price * 0.8
return price
def solution(price):
answer = 0
if price >= 500000:
return int(price * 0.8)
if price >= 300000:
return int(price * 0.9)
if price >= 100000:
return int(price * 0.95)
return price
return int(price)
return 을 안해주었다...끄응 실수하지말자