Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- days = raw_input("Podaj liczbę dni")
- def rental_car_cost(days):
- cost = 40*days
- if days >= 7:
- cost = cost - 50
- return cost
- elif days >= 3 and days < 7:
- cost = cost - 20
- return cost
- else:
- cost
- return cost
Advertisement
Add Comment
Please, Sign In to add comment