From 25fc02f39a4c851d7080358bf02c1f750c7d6e81 Mon Sep 17 00:00:00 2001 From: Wannes-Sys Date: Wed, 17 May 2023 08:16:10 +0000 Subject: [PATCH] Hello World! printing 'Hello World!' in a new fashion --- hello_world.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 hello_world.py diff --git a/hello_world.py b/hello_world.py new file mode 100644 index 0000000..9e5a0ef --- /dev/null +++ b/hello_world.py @@ -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("!")) \ No newline at end of file