How can I use random to generate names?

How to generate random number? It wold be logical to pop random names from the list.

not a requirement for this exercise? Just use .pop() like the exercise suggest, a different list might not be approved by exercise validation.