Mega Code Archive
Categories
/
Python Tutorial
/
Buildin Function
Uses the range() function to create a temporary sequence of integers the size of a list
word = "Python" list = [] for ch in word: list.append(ch) print list string = "" for i in range(len(list)): string += list[i] print string