Skip to content

Commit 2e44d9e

Browse files
authored
Update Day 4.md
Another solution for Question 15
1 parent 54c7851 commit 2e44d9e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Status/Day 4.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,11 @@ inp = input()
179179
print(question_15(inp))
180180
```
181181
---
182+
```python
183+
'''Solution by: apenam7
184+
'''
185+
a = input()
186+
print(sum(int(i*a) for i in range(1,5)))
182187

183188
[**_go to previous day_**](https://github.com/darkprinx/100-plus-Python-programming-exercises-extended/blob/master/Status/Day%203.md "Day 3")
184189

0 commit comments

Comments
 (0)