Kevin Tiller

Generation

code to explanationThu, 20 Apr 2023

def ask_questions(list_of_questions): import random order = list(range(len(questions))) random.shuffle(order) end_test = False num_questions = len(q) score = 0 while not end_test: num_skipped = []

The function ask_questions takes one argument list_of_questions and shuffles the order of the questions. It also counts the number of questions and the number of skipped questions.

Want to kickstart your project?Use the new AI Studio to create your code