Skip to content

Instantly share code, notes, and snippets.

@QuanSai
Created November 18, 2012 03:35
Show Gist options
  • Save QuanSai/4103327 to your computer and use it in GitHub Desktop.
Save QuanSai/4103327 to your computer and use it in GitHub Desktop.
How to join strings together using Python.
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