Skip to content

Commit 6acd8b7

Browse files
authored
Update decimal_isolate.py
1 parent f02bdfe commit 6acd8b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

maths/decimal_isolate.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ def decimal_isolate(number, digitAmount):
88
If digitAmount > 0 round to that decimal place, else print the entire decimal.
99
>>> decimal_isolate(35.345, 1)
1010
0.3
11-
>>> decimal_isolate(89.345, 2)
11+
>>> decimal_isolate(35.345, 2)
1212
0.34
13-
>>> decimal_isolate(89.345, 3)
13+
>>> decimal_isolate(35.345, 3)
1414
0.345
1515
"""
1616
if (digitAmount > 0):

0 commit comments

Comments
 (0)