Skip to content

Instantly share code, notes, and snippets.

@kzhk75
Last active May 15, 2019 12:42
Show Gist options
  • Save kzhk75/d4b9347f202222aeb7eb99778d2ec202 to your computer and use it in GitHub Desktop.
Save kzhk75/d4b9347f202222aeb7eb99778d2ec202 to your computer and use it in GitHub Desktop.
#!/usr/local/opt/python/libexec/bin/python
import random
def rdmpickup():
n = 3
nmax=40
rdatas=random.sample(range(1,nmax+1),3)
print(rdatas)
if __name__ == "__main__":
rdmpickup()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment