Téléportation #10
Labels
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: P5/p5-1.2-g10#10
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Pour l'instant, j'ai testé ça qui peut servir de base :
import random
tab1 = ["0","1","2","3","4"]
tab2 = ["a","b","c","d","e"]
associe = []
temp = [j for j in tab2]
for i in tab1:
rand = random.randint(0,len(temp)-1)
associe.append((i,temp[rand]))
temp.pop(rand)
print(associe)