I am making a basic program in which I want to store multiple inputs from the user in the predefined list. My approach
exampleList = []
exampleList = input("Enter the choice of user1: ")
exampleList = input("Enter the choice of user2: ")
exampleList = input("Enter the choice of user3: ")
exampleList = input("Enter the choice of user4: ")
exampleList = input("Enter the choice of user5: ")
# I want to store 5 number inputs in examples list
But I don't want to use input function multiple times. Desired Output:
exampleList = [2,3,5,4,1]