Created
November 18, 2012 03:35
-
-
Save QuanSai/4103327 to your computer and use it in GitHub Desktop.
How to join strings together using Python.
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
first = 'pwn' | |
second = 3 | |
third = 'd' | |
newstring = ''.join([first, str(second), third]) | |
print newstring |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment