Skip to content

Commit c1593d2

Browse files
authored
Create combo_string.py
1 parent dc779b8 commit c1593d2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

String-1/combo_string.py

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
def combo_string(a, b):
2+
if len(a) > len(b):
3+
a,b = b,a
4+
return a + b + a

0 commit comments

Comments
 (0)