I have been trying to create a program that will simulate a dice roll, with the option to choose between a 4, 6, or 12 sided die. At the moment the problem I am having is that the program skips the rolling entirely no matter what option I choose and immediately asks me if I want to roll again. Im using Portable Python 3.2.1.1 to create the code. This is what I have so far:

```
#!/usr/bin/env python

import random

def fourdie():
   min = 1
   max = 4
   print (random.randint(min, max));
   return;

def sixdie():
  min = 1
  max = 6
  print (random.randint(min, max));
  return;

def twelvedie():
  min = 1
  max = 12
  print (random.randint(min, max));
  return;

roll = "yes"
y = 1

while roll == "yes" or roll == "y":
  x = raw_input("What die do you want to roll? 4, 6 or 12?");
  if x == 4:
    print (fourdie());
  elif x == 6:
    print (sixdie());
  elif x == 12:
    print (twelvedie());
  else:
    print = "Sorry, I dont appear to have that dice type";

  roll = raw_input("Do you want to roll again?");

```

Any help would be appreciated. 
Thank you for your time!