I am creating a question and answer program by comparing whether the user input and an element in a list are the same. I first randomly chose a number and used itemgetter to