Skip to content

Commit d5d3e7f

Browse files
committed
day 15 code is re-updated
1 parent 6c801e3 commit d5d3e7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Status/Day_15.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,6 @@ n = int(input())
205205
sum = 0
206206
for i in range(1, n+1):
207207
sum+= i/(i+1)
208-
print(sum)
208+
print(round(sum, 2)) # rounded to 2 decimal point
209209
```
210210
---------------------

0 commit comments

Comments
 (0)