if the user wants to largen the list size
d = {} L = [] i = 0 while i < 3: name = input('Enter your Name :') for j in range(5): #changing the lenght of the list integer = eval(input('Input your value :')) L.append(integer) d[name] = L L = [] print(i) i+=1 print(d)