Skip to content

Instantly share code, notes, and snippets.

@elit8888
Created August 13, 2019 15:04
Show Gist options
  • Save elit8888/b7f038cda9d8a0004486ec6179077150 to your computer and use it in GitHub Desktop.
Save elit8888/b7f038cda9d8a0004486ec6179077150 to your computer and use it in GitHub Desktop.
"""Try to make python code py2 py3 compatible.
However, in the near future, python2 support will be ended.
"""
# py2
print 'Hello World!'
# py3
print('Hello World!')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment