From 40e7566c0f340e1b5bba000d65263e194eb3c42c Mon Sep 17 00:00:00 2001 From: Danil Shankovskiy Date: Mon, 1 Oct 2018 14:07:57 +0300 Subject: [PATCH] Update Python.py More creative Python 'Hello world'! --- hello-world/Python.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/hello-world/Python.py b/hello-world/Python.py index 70bd6108..30ab06f8 100644 --- a/hello-world/Python.py +++ b/hello-world/Python.py @@ -1,3 +1,4 @@ -x='Hello' -y=' World' -print(x+y) +my_str = "" +for i in [72, 101, 108, 108, 111, 32, 119, 111, 114, 108, 100]: + my_str += chr(i) +print(my_str)