16 lines
179 B
Python
16 lines
179 B
Python
|
def foo(char, l = []):
|
||
|
l.append(char)
|
||
|
return "".join(l)
|
||
|
|
||
|
foo("H")
|
||
|
foo("e")
|
||
|
foo("l")
|
||
|
foo("l")
|
||
|
foo("o")
|
||
|
foo(" ")
|
||
|
foo("W")
|
||
|
foo("o")
|
||
|
foo("r")
|
||
|
foo("l")
|
||
|
foo("d")
|
||
|
print(foo("!"))
|