Advertisement
11eimilia11

comeABAcateBEM

Feb 22nd, 2019
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.25 KB | None | 0 0
  1. #função que gera aleatoriamente casal
  2. def generate_parents(melhores):
  3.     parents = []
  4.     aux = []
  5.  
  6.     for i in range(0,2):
  7.         rand = randint(0,10)
  8.         if i == 0 :
  9.             aux.append(rand)
  10.         elif i > 0:
  11.             if
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement