#try to avoid input function a = ["name1","name2","name3","name4"] b = [21,43,54,24] c = [] for i in range(len(a)): c.append(a[i]) c.append(b[i]) print(c)
Click the run button. Try to avoid input() function.