Python Forum

Full Version: random permutation
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi guys,for a homework about the "100 prisoner problem" i need some command that gives me a random permutation that i can find in "p".
p=Permutations(100)
. I would be really grateful for some help.
Hello, see if you can find something of use here.
No one will do it for you (or if they do, I'll just delete their response).
Share what you've tried so far, and we'll help out if you have issues.

Also, what's the 100 prisoner problem?