forked from exercism/v3
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added problem "6. Calculate unexchangeable value" (exercism#19)
* Added new problem "Calculate unexchangeable value" Added modular arithmetic problem Calculate unexchangeable value * Added new problem "Calculate unexchangeable value" (example.py, exchange.py) Modified example.py, exchange.py * Modified Calculated unexchangeable value Modified `unexchangeable_value()` function's expected return type to be `int` * added new lines at the end of file * applied prettier on instructions.md Co-authored-by: Limm-jk <201602057@cs-cnu.org> Co-authored-by: Junkyu Lim <57378834+Limm-jk@users.noreply.github.com>
- Loading branch information
1 parent
784bc71
commit b5785d6
Showing
3 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
languages/python/exercises/concept/currency-exchange/exchange.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,23 @@ | ||
def estimate_value(budget, exchange_rate): | ||
pass | ||
|
||
|
||
def get_change(budget, exchanging_value): | ||
pass | ||
|
||
|
||
def get_value(denomination_value, number_of_bills): | ||
pass | ||
|
||
|
||
def get_number_of_bills(budget, denomination): | ||
pass | ||
|
||
|
||
def exchangeable_value(budget, exchange_rate, spread, minimum_denomination): | ||
pass | ||
|
||
|
||
def unexchangeable_value(budget, exchange_rate, spread, denomination): | ||
pass | ||
|