im a newbie to python and my program keeps on closing when typing in the correct decision "y" here is my code feel free to edit my code:im new to python and not the best at using loops.My program should give the user a closing message if "n" or "N" is typed eg.press enter to exit the program and if "yes" or "y" is typed it should carry on going to ask the users name Any Help is very much appreciated:Is my Loop working properly?
play_user = input ("Do You Want To Play?")
play_user = "y" and "Y"
while play_user == "n" and "N":
play_user = input ("Do You Want To Play")