Skip to content

Instantly share code, notes, and snippets.

@OpnSrcConstruction
Created April 9, 2019 21:08
Show Gist options
  • Save OpnSrcConstruction/da323b401908ace765ff2a4453b5493a to your computer and use it in GitHub Desktop.
Save OpnSrcConstruction/da323b401908ace765ff2a4453b5493a to your computer and use it in GitHub Desktop.
Python Example: string concatenation #python #string #concatenation
'''
@author: kjlw99
'''
toy = 'string'
print("My cat loves playing with his " + toy + ".")
Output:
My cat loves playing with his string.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment