[Quiz game] duplication question disappear

I am making a quiz game. But there is a problem.

I want to avoid duplicate questions.

The problem is that you want to avoid duplication problems by shuffling.

For example, if there are 10 problems, 10 problems will be presented without duplication.

Help me solve this. Thank you.