Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix grammar in currency-exchange exercise #3517

Merged
merged 1 commit into from
Oct 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion exercises/concept/currency-exchange/.docs/instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ This function should return the amount of money that *is left* from the budget.
Create the `get_value_of_bills()` function, taking 2 parameters:

1. `denomination` : The value of a single bill.
2. `number_of_bills` : Amount of bills you received.
2. `number_of_bills` : Number of bills you received.

This exchanging booth only deals in cash of certain increments.
The total you receive must be divisible by the value of one "bill" or unit, which can leave behind a fraction or remainder.
Expand Down
2 changes: 1 addition & 1 deletion exercises/concept/currency-exchange/.docs/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ There are three different kinds of built-in numbers in Python : `ints`, `floats`

`ints` are whole numbers. e.g. `1234`, `-10`, `20201278`.

Integers in Python have [arbitrary precision][arbitrary-precision] -- the amount of digits is limited only by the available memory of the host system.
Integers in Python have [arbitrary precision][arbitrary-precision] -- the number of digits is limited only by the available memory of the host system.

### floats

Expand Down
2 changes: 1 addition & 1 deletion exercises/concept/currency-exchange/.meta/exemplar.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def get_value_of_bills(denomination, number_of_bills):
"""

:param denomination: int - the value of a bill.
:param number_of_bills: int - amount of bills you received.
:param number_of_bills: int - number of bills you received.
:return: int - total value of bills you now have.
"""

Expand Down
2 changes: 1 addition & 1 deletion exercises/concept/currency-exchange/exchange.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def get_value_of_bills(denomination, number_of_bills):
"""

:param denomination: int - the value of a bill.
:param number_of_bills: int - amount of bills you received.
:param number_of_bills: int - number of bills you received.
:return: int - total value of bills you now have.
"""

Expand Down