Skip to content

Instantly share code, notes, and snippets.

@valsaven
Created November 15, 2016 09:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save valsaven/3c4c645ee79828d733702698edb93e4f to your computer and use it in GitHub Desktop.
Save valsaven/3c4c645ee79828d733702698edb93e4f to your computer and use it in GitHub Desktop.
Just another "Hello, World!" with Python :)
#!/usr/bin/python
s = 'deowhlr'
print('{}'.format(s[4].upper()) + '{}{}{}{}'.format(s[1], s[5],
s[5], s[2]) + ', ' + '%s%s%s%s%s' % (s[3].upper(), s[2], s[6], s[5],
s[0]) + '!')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment