input: Write a function to implement a word guessing game with a limited number of guesses.
  assert play_word_guessing_game("secret", "secre", 3) == "You Win!"
  assert play_word_guessing_game("secret", "abc", 3) == "You Lose!"
  assert play_word_guessing_game("hello", "helo", 4) == "You Win!"
output: def play_word_guessing_game(secret_word, guess, max_attempts):
      attempts = 0
      while attempts < max_attempts:
          if guess == secret_word:
              return "You Win!"
          attempts += 1
      return "You Lose!"