s = "string" random_list = list(s) #random_list = ['s','t','r','i','n','g'] list_length = len(random_list) #list_length = amount of characters (6) for number in range(0,list_length): print("something")