Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions Status/Day 9.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,27 @@ printVal(s1,s2)
func = lambda a,b: print(max((a,b),key=len)) if len(a)!=len(b) else print(a+'\n'+b)
```

---
---

```python
'''Solution by: VK'''
def str_len():
x = []
new_li = []
while True:
y = input('Enter text\n')
if not y:
break
x.append(y)
man_len = max(x, key=len)
for i in x:
if len(man_len) == len(i):
new_li.append(i)
print('\n'.join(new_li))
str_len()
```

---

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