I'm new to here. This is my first post, I'm sorry if I get something wrong, but here is my question; I'm making a game in py3 and I'm unsure on how to get it to exit the loop but have 2 different outcomes. I believe it will be harder to explain than to just show you the code, so here it is:
a = 0
start = raw_input("Type c to continue previous game or press n to start a new one!")
while start != (start == "c" and start == "n"):
print"Try again!"
start = raw_input("c or n")
if start =="c":
print "continuing game!"
balance-=balance
a-=a
a+=2
elif start =="n":
print "Starting new game!"
a -=a
a +=1
It just continues the loop even when c or n is entered. Any help is appreciated!