Example #1
0
def quizTensNumbers( words = True, trys = 3 ):
    func = numberByWord if words else numberByNumber
    return quiz( makeFunctionItems( func, range( 10, 101, 10 ) ), trys )
Example #2
0
def quizRandom( numbersList, take, words = True, trys = 3 ):
    func = numberByWord if words else numberByNumber
    numbers = sample( numbersList, take )
    return quiz( makeFunctionItems( func, numbers, shuffleThem = False ), trys)
Example #3
0
def quizLowNumbers( words = True, trys = 3 ):
    func = numberByWord if words else numberByNumber
    return quiz( makeFunctionItems( func, range( 1, 21 ) ), trys )