Skip to content

Instantly share code, notes, and snippets.

@glauco
Created September 7, 2011 16:12
Show Gist options
  • Save glauco/1200993 to your computer and use it in GitHub Desktop.
Save glauco/1200993 to your computer and use it in GitHub Desktop.
Random numbers
­#!/usr/bin/python
import random
for k in range(10):
r = random.randint(1,3)
print r,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment