All pastes #740854 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-10-18 09:23 UTC
rendered paste body
from random import randrange

dice = randrange(1,7) + randrange(1,7)
print "You roll a", dice
if dice == 7:
    print"You win, you crazy nutjob!"

point = dice
while dice !=7:
    dice = randrange(1,7) + randrange(1,7)
    print "Now you roll a", dice 
    if dice==point:
        print"Nice play freak, you win again!"
        break