Exemplo n.º 1
0
def quizTensNumbers( words = True, trys = 3 ):
    func = numberByWord if words else numberByNumber
    return quiz( makeFunctionItems( func, range( 10, 101, 10 ) ), trys )
Exemplo n.º 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)
Exemplo n.º 3
0
def quizLowNumbers( words = True, trys = 3 ):
    func = numberByWord if words else numberByNumber
    return quiz( makeFunctionItems( func, range( 1, 21 ) ), trys )