l1 = []

f1 = input("Enter 1st fruit:")
l1.append(f1)

f2 = input("Enter 2nd fruit:")
l1.append(f2)

f3 = input("Enter 3rd fruit:")
l1.append(f3)

f4 = input("Enter 4th fruit:")
l1.append(f4)

f5 = input("Enter 5th fruit:")
l1.append(f5)

f6 = input("Enter 6th fruit:")
l1.append(f6)
print(l1)

#Method2:

l2 = [f1,f2,f3,f4,f5,f6]
print(l2)

