Hello World!

printing 'Hello World!' in a new fashion
This commit is contained in:
Wannes-Sys 2023-05-17 08:16:10 +00:00
parent c16004aab9
commit 25fc02f39a
1 changed files with 16 additions and 0 deletions

16
hello_world.py Normal file
View File

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