Created
October 7, 2009 15:30
-
-
Save mwalling/204135 to your computer and use it in GitHub Desktop.
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
input = ['11.40', '10.20'] | |
output = ','.join(["'%s'" % val for val in input]) | |
print output | |
# will print "'11.40','10.20'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment