Issues with if and elif statements in 3.3

2013-08-08 Thread krismesenbrink
def town(): print ("You stand in the middle of Coffeington while you descide what" " to do next, you have herd rumor of the Coffeington Caves that run" "under the city, would you like to check them out?") answer = input() if answer == ("yes") or ("Yes") or ("y"): print("

Re: new to While statements

2013-08-06 Thread krismesenbrink
wow everyone thanks for the feed back! i'll have to rewrite this with everything you guys taught me. this makes ALOT more sense. :D -- http://mail.python.org/mailman/listinfo/python-list

Re: new to While statements

2013-08-06 Thread krismesenbrink
and it seems you are right about that, i don't know what was wrong with my IDE before, i closed it and opened it up again,seemed to fix the problem. thanks for taking the time to look at it anyway! -- http://mail.python.org/mailman/listinfo/python-list

new to While statements

2013-08-06 Thread krismesenbrink
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?") if des == ("y"): print ("Rolling the die...") print ("You rol