Skip to content

Commit 71e1e40

Browse files
authored
Merge pull request darkprinx#19 from Prash099/patch-3
Update Day_24.md
2 parents 5c69371 + 59a89eb commit 71e1e40

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Status/Day_24.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,18 @@ sum = rec(n)
204204
print(sum)
205205
```
206206
207+
**Solution:**
208+
209+
```python
210+
'''Solution by: Prashanth'''
211+
212+
N = int(input(' : '))
213+
sum = 0
214+
for i in range(N+1):
215+
sum += i
216+
print(sum)
217+
218+
```
207219
---
208220

209221
[**_go to previous day_**](https://github.com/darkprinx/100-plus-Python-programming-exercises-extended/blob/master/Status/Day_22.md "Day 23")

0 commit comments

Comments
 (0)