import random play = "Yes" while play == "Yes" : number = random.randint play = input( "Would you like to do it again? ") dont work