end = round(start - time.time(), 2) print "you complete this quiz in " + str(end) + " amount of seconds."
17 Replies - 900 Views - Last Post: 29 September 2012 - 03:14 PM
#16
Re: Timing a quiz question
Posted 29 September 2012 - 04:48 AM
Just add "end" made in to a string with str() to the pieces of the string that surround it.
#17
Re: Timing a quiz question
Posted 29 September 2012 - 05:08 AM
#18
Re: Timing a quiz question
Posted 29 September 2012 - 03:14 PM
I have noticed something, it gives it in negatives, like you did this quiz in -243 seconds
|
|

New Topic/Question
Reply





MultiQuote



|