Created
April 9, 2019 21:08
-
-
Save OpnSrcConstruction/da323b401908ace765ff2a4453b5493a to your computer and use it in GitHub Desktop.
Python Example: string concatenation #python #string #concatenation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
@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