Skip to content

Commit

Permalink
Update Python.py
Browse files Browse the repository at this point in the history
More creative Python 'Hello world'!
  • Loading branch information
BeAsYit authored Oct 1, 2018
1 parent 8f67918 commit 40e7566
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions hello-world/Python.py
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit 40e7566

Please sign in to comment.