def encontra_maior_numero(lista): maior = lista[0]     for n in lista: if n > maior: maior = n return maior