阅读背景:

如何在调用索引后从数组中永久删除项?

来源:互联网 

My following code displays a question and its matching answer by making an array of keys and values from a dictionary and making sure both arrays have the same index that is pulled. However after a question and its answers are randomly selected I want to remove them permanently from their respective arrays until all the other items in the array have been displayed. Simply put, how can I make sure a question and set of answers are not shown again until all the items are shown or until the user gets an answer wrong? As of now my code only makes sure the same random index isn't chosen twice in a row when I want to make sure it isn't shown twice at all.My following code displays a question and its m




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: