I am doing a computer science past paper (NEA) and I have a problem, where I have data stored in a multidimensional array, and I ask input from the user, where the expected input is already in the array, and I want the program to print out the array in which the input is stored.
# Array containing the ID, last name, year in, membership, nights booked, points.
array = [["San12318", "Sanchez", 2018, "Silver", 1, 2500],
["Gat32119", "Gatignol", 2019, "Silver", 3, 7500]]
# Asking to the user to enter the ID
inUser = input("Please enter the user ID: ")
And this is where I need help, if the ID entered is "San12318", how can I get the program to print out the array where it is stored?