Posts by jcmricci • 1 point
1 post
-
0
votes2
answers48
viewsQ: I’m trying to make a show that gets an n number and returns all the cousins up to n, but I don’t know what’s going wrong
numero = int(input('Digite um número: ')) lista_numeros = list(range(1, numero + 1)) primos = [] divisores = 0 for n in lista_numeros: for count in range…