Mindblown/hello_world.py

16 lines
179 B
Python
Raw Normal View History

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("!"))