This preview shows page 1. Sign up to view the full content.
Unformatted text preview: >>> a ['c', 'b', 'a'] >>> ','.join(a) 'c,b,a' >>> ', '.join(a) 'c, b, a' >>> ''.join(a) 'cba' >>> list('abc') ['a', 'b', 'c'] >>> str(list('abc')) "['a', 'b', 'c']" >>> .join(list('abc)) SyntaxError: invalid syntax >>> ''.join(list('abc')) 'abc' >>>...
View Full Document
This note was uploaded on 09/06/2009 for the course LING 571 taught by Professor Staff during the Fall '08 term at San Diego State.
- Fall '08