list1 = [] length = int(input("input the length of your list")) print("Input values of the list") for i in range(length): values = int(input()) list1.append(values) print(list1)