title: how to get python 3 to use ENTER as an input?
body: <p>How do i get the enter key to work in this situation? I tried searching for it, but maybe i'm wording it wrong.
  also, how would i get the else statement to work in this particular situation?</p>
  
  <p>thank you</p>
  
  <pre><code>import random
  
  def roll_dice():
      roll = random.randint(1,6)
      print("You rolled a %n " % roll)
  
  
  
  def main():
      input("Hit ENTER to roll a single dice: ")
      roll_dice()
      else:
          print("exiting program.")
  
  main()
  </code></pre>