Skip to content

Commit

Permalink
Added hello world script compatible with both Python 2 and Python 3 - F…
Browse files Browse the repository at this point in the history
…ix hacktoberfest17#237 (hacktoberfest17#239)

* Added hello world script for python 2 and 3

* Update hello_world.py
  • Loading branch information
Lorenzo Pieri authored and t2013anurag committed Oct 16, 2017
1 parent e6a2adc commit 829d434
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions hello_world/hello_world.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals, print_function, absolute_import

if __name__ == '__main__':
print('\nHello World!')

0 comments on commit 829d434

Please sign in to comment.