uses the range() function to create a temporary sequence of integers the size of a list : Range : Buildin Function PYTHON TUTORIALS


PYTHON TUTORIALS » Buildin Function » Range »

 

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



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON TUTORIALS

 Navioo Buildin Function
» Range