Skip to content

Instantly share code, notes, and snippets.

@sadmansk
Created July 5, 2016 04:51
Show Gist options
  • Save sadmansk/937efaa6ff6334e0fe97e60cf3bfe7d8 to your computer and use it in GitHub Desktop.
Save sadmansk/937efaa6ff6334e0fe97e60cf3bfe7d8 to your computer and use it in GitHub Desktop.
Generates n (x, y) points as output
import random
n = int(input())
x = list(range(n))
y = list(range(n))
random.shuffle(x)
print (n)
for i in range(n):
print (x[i], y[i])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment