March 29th, 2004, 02:04 PM
Works for me; although it really doesn't 'do' anything. What were you expecting?
die1 = random.randrange(6)+1
die2 = random.randrange(6)+1
total = die1 + die2
print die1, die2, total
raw_input('press the enter key to exit')
"Seriously, we're not a search engine, we're actual people." ~ ManiacDan
BookMooch.com : Give books away. Get books you want.