parent
c16004aab9
commit
25fc02f39a
|
@ -0,0 +1,16 @@
|
|||
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("!"))
|
Loading…
Reference in New Issue