Skip to content

Commit 79a7dbe

Browse files
ceddlyburgeBethanyG
authored andcommitted
Remove the explanation of round
1 parent a769aeb commit 79a7dbe

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

exercises/concept/making-the-grade/.docs/instructions.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@ You decide to make things a little more interesting by putting together some fun
99
While you can give "partial credit" on exam questions, overall exam scores have to be `int`s.
1010
So before you can do anything else with the class scores, you need to go through the grades and turn any `float` scores into `int`s. Lucky for you, Python has the built-in [`round()`][round] function you can use.
1111

12-
The round function will round down fractional parts less than 0.5, and round up fractional parts greater than or equal to 0.5.
13-
For example, a score of 75.45 or 75.49 will round to 75, and score a of 75.50 or 75.64 will round to 76.
14-
There shouldn't be any scores that have more than two places after the decimal point.
15-
1612
Create the function `round_scores()` that takes a `list` of `student_scores`.
1713
This function should _consume_ the input `list` and `return` a new list with all the scores converted to `int`s.
1814
The order of the scores in the resulting `list` is not important.

0 commit comments

Comments
 (0)