Skip to content

Instantly share code, notes, and snippets.

@gfodor
Created March 3, 2013 22:37
Show Gist options
  • Save gfodor/5078643 to your computer and use it in GitHub Desktop.
Save gfodor/5078643 to your computer and use it in GitHub Desktop.
import random
prob = random.random()
mymetro = random.randrange(0.00,11.00)
cash = str(mymetro)
print "you have a metrocard worth $" + cash + " dollars"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment