On 08/06/2013 08:38 PM, krismesenbr...@gmail.com wrote:
import random



def room ():

     hp = 10
     while hp != 0:

         random_Number = random.randint(1, 2)

         #asking if you want to roll/play
         des = input("Would you like to roll the die?")

<snip>

One very trivial comment... Add one or two spaces to the end of your prompt string, (I like to use two).

No biggie, but it just looks nicer if the answer doesn't butt up directly against the end of the prompt.

     -=- Larry -=-

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to