Im a college student this is my first computer science class and im having trouble with my code. it will not display the print statment. This is my code thus far.
import random
choice = raw_input("what die would you like to use: ")
d4 = random.randrange(4)+1
d6 = random.randrange(6)+1
d10 = random.randrange(10)+1
d12 = random.randrange(12)+1
d20 = random.randrange(20)+1
d100 = random.randrange(100)+1
if choice == d4:
print "d4"
if choice == d6:
print "d6"
if choice == 10:
print "d10"
if choice == d12:
print "d12"
if choice == d20:
print "d20"
if choice == d100:
print "d100"
And this is what i get back
what die would you like to use: d100
>>>
how do i get it to print line 3-8 depending on the user input.