Skip to content

Commit 29953b3

Browse files
author
hajimalung.baba
committed
solution for question 9 added
1 parent 54c7851 commit 29953b3

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Status/Day 2.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,19 @@ for line in map(str.upper, user_input()):
428428
print(line)
429429
```
430430

431+
```python
432+
'''Soltuion by: hajimalung baba
433+
'''
434+
def inputs():
435+
while True:
436+
string = input()
437+
if not string:
438+
return
439+
yield string
440+
441+
print(*(line.upper() for line in inputs()),sep='\n')
442+
```
443+
431444
---
432445

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

0 commit comments

Comments
 (0)