The code would be something like this:
for bi in range(N): for no in range(M): bn = random.randrange(N) ar[bi][no] = br[bn][no]
but this is quite inefficient in python. Any ideas?
Aucun commentaire:
Enregistrer un commentaire