Skip to content

Instantly share code, notes, and snippets.

@NickWoodhams
Last active February 1, 2017 22:01
Show Gist options
  • Select an option

  • Save NickWoodhams/f1bb126b95b6f9931e621d8650ea62f3 to your computer and use it in GitHub Desktop.

Select an option

Save NickWoodhams/f1bb126b95b6f9931e621d8650ea62f3 to your computer and use it in GitHub Desktop.
Generate a tuple with two random ints between 0 and 1000
#! /usr/bin/python
from random import randint
r1 = randint(0, 1000)
r2 = randint(0, 1000)
print(r1, r2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment