Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def ccat():
- secs = (60 * 15)
- questions = 50
- qtime = (secs / questions)
- # print "number of questions: " + str(questions)
- # print "test time in minutes: " + str(secs / 60)
- # print "seconds per question: " + str(qtime)
- count = 1
- while True:
- system_wrap("say " + str(count))
- # print "question " + str(count)
- for i in range(1, qtime):
- # print str(i)
- time.sleep(1)
- count += 1
- if count > questions:
- return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement