Generation

generate functionSun, 13 Nov 2022

Make a whole ass game

def game(): while True: choice = input('Do you want to play again? (y/n)') if choice == 'y': continue else: print('Thanks for playing!') break

Questions about programming?Chat with your personal AI assistant