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")
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")