I've my bloc elif with a loop inside that compare 2 strings (letters) but even if i put the right letter it still run the loop.. i've been looking thru the forum, tried many things but it still run the loop i've no idea why.
elif wallet > 0: # if player still wants to play (if wallet is not empty)
            restartp = raw_input('Keep playing [y/n] ? ')
            while restartp != 'y' or restartp != 'n':
                    print '[!] Wrong answer !'
                    restartp = raw_input('Keep playing [y/n] ? ')
            if restartp == 'y':
                    restart = 1
            elif restartp == 'n':
                    restart = 0
                    keep = False
 
     
    