Posts by Anderson Nicolau • 17 points
1 post
-
0
votes1
answer37
viewsQ: How to initialize N random vectors, where N is provided by the user?
import random x = int(input("Digite o tamando do cromossoma: ")) n = int(input("Digite a quantidade de vetores: ")) saida = [] for _ in range(x): …
pythonasked Anderson Nicolau 17