Ejemplo n.º 1
0
def teste_03():
    print(' teste_03', end=': ')
    tupla = (2, 3, 4)
    retorno = pertence(tupla, 1, 5)  # chamada da função
    if retorno is False:
        print(" OK")
    else:
        print(" ERRO")
Ejemplo n.º 2
0
def teste_01():
    print(' teste_01', end=': ')
    tupla = (2, 3, 4)
    retorno = pertence(tupla, 2, 4)  # chamada da função
    if retorno is True:
        print(" OK")
    else:
        print(" ERRO")