This commit is contained in:
parent
00d34e7e2f
commit
d9b6631b6f
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ def get_discounted_prices(*prices: int) -> float:
|
||||||
if len(prices_set) == 3:
|
if len(prices_set) == 3:
|
||||||
return float(price_sum * 0.75)
|
return float(price_sum * 0.75)
|
||||||
|
|
||||||
elif len(prices_set) == 2:
|
if len(prices_set) == 2:
|
||||||
return float(price_sum * 0.9)
|
return float(price_sum * 0.9)
|
||||||
|
|
||||||
return float(price_sum)
|
return float(price_sum)
|
||||||
|
|
Loading…
Reference in a new issue