Timeline for Random array without repetition
Current License: CC BY-SA 3.0
3 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 24, 2016 at 18:31 | comment | added | shooqie | Huh, I did consider from random import*, must've screwed up the counting. | |
| Mar 24, 2016 at 18:19 | comment | added | user45941 | from random import*;lambda N,R:sample(range(1,R+1),k=N) is shorter by a byte | |
| Mar 24, 2016 at 18:14 | history | answered | shooqie | CC BY-SA 3.0 |