Timers, dates and script.
<p>So i'm doing a project and have wanted to add some extra features to make it unique.</p>

<p>How do I make it output a timer sort of thing where it would say "It took you (minutes:seconds) to answer this question" after each question and then a overall timer at the end of the exam (Script). Also, how would I add a date on when the exam was taken. What else could i add to make this more unique and users actually interested in doing this. I have simple input features where it asks for their name, class name and then adds up the total score and outputs into a file, named after the class name using 'with' and 'open' commands.</p>

<pre><code>OPERATIONS = [             # this is stating what the operations are.
    (operator.add, "+"),
    (operator.mul, "*"),
    (operator.sub, "-")
    ]
for _ in range(10):
    num1 = random.randint(1,10)#This will randomly select num1 &amp; num2 to be from 1-10
    num2 = random.randint(1,10)
    op, symbol = random.choice(OPERATIONS) #this will make the symbol equal to the operations and randomly select it by using .choice
    print("What is", num1, symbol, num2,"?")
    if get_int_input() == op(num1, num2):#this will check if the input is true or false by using ValueError if its false.
        print("Well done",name,"you got it correct!")
        score += 1
    else:
        print("Incorrect, better luck next time!")
</code></pre>