I think I understand the first part of what the function should do in terms of increasing the exchange rate so that it factors-in the cost of exchanging with that booth / currency provider.
But, I am not understanding the last question the way it is written in Task 6:
a) It seems that the exercise is requesting to calculate the "new currency" amount resulting from multiplying the budget by the increased (by cost) exchange rate.
b) But, then why do we need the "denomination" parameter in the function?
We can calculate the new currency amount regardless of the denomination, right?
I am not understanding how the denomination impacts the Max-Value of the resulting new currency value.
Could someone explain?
Thank you very much.
This is my unfinished code for Task 6:
"""
:return: int - maximum value you can get.
"""
actual_spread = spread / 100
total_exchange_rate = exchange_rate * (1 + actual_spread)
maximum_value = ???
return maximum_value