The last expression of Session 3.4 should be name[len(name)-1] not name[len(name)]. name[len(name)] generates a range error because the length of the string is 1 past the end of the string.
Wednesday, September 23, 2009
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment