Skip to content

Commit 3649c10

Browse files
authored
Update Day 9.md
1 parent 87a4cfe commit 3649c10

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Status/Day 9.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,15 @@ s1,s2=input().split()
154154
printVal(s1,s2)
155155
```
156156
------------
157+
**Solution by: yuan1z**
158+
```python
159+
func = lambda a,b: print(max((a,b),key=len)) if len(a)!=len(b) else print(a+'\n'+b)
160+
```
161+
------------
162+
157163

158164
[***go to previous day***](https://github.com/darkprinx/100-plus-Python-programming-exercises-extended/blob/master/Status/Day%208.md "Day 9")
159165

160166
[***go to next day***](https://github.com/darkprinx/100-plus-Python-programming-exercises-extended/blob/master/Status/Day_10.md "Day 10")
161167

162-
[***Discussion***](https://github.com/darkprinx/100-plus-Python-programming-exercises-extended/issues/3)
168+
[***Discussion***](https://github.com/darkprinx/100-plus-Python-programming-exercises-extended/issues/3)

0 commit comments

Comments
 (0)