[Solved] Python maths quiz random number [closed]
Use a for loop: for num in range(5): # Replace “print” below, with the code you want to repeat. print(num) To repeat all questions, excluding “whats your name..” include the part of the code you need in the loop: import random name=input(“What is your name?”) print (“Alright”,name,”Welcome to your maths quiz”) score=0 for question_num in … Read more