#try to avoid input function a = int(input("Enter any Number :")) b = ["hello world",63,"rgukt",73,"iiit",637] c = len(b) for i in range(1,a): for j in range(c): b.append(b[j]) print(b)
Click the run button. Try to avoid input() function.