input: Write a function to simulate a rock-paper-scissors game.
  assert play_game("rock") in ["Computer chose rock. Draw.", "Computer chose paper. You lose.", "Computer chose scissors. You win."]
  assert play_game("paper") in ["Computer chose rock. You win.", "Computer chose paper. Draw.", "Computer chose scissors. You lose."]
  assert play_game("scissors") in ["Computer chose rock. You lose.", "Computer chose paper. You win.", "Computer chose scissors. Draw."]
output: import random
  
  def play_game(player_choice):
      choices = ["rock", "paper", "scissors"]
      computer_choice = random.choice(choices)
  
      if player_choice == computer_choice:
          return f"Computer chose {computer_choice}. Draw."
      elif (player_choice == "rock" and computer_choice == "scissors") or \
           (player_choice == "paper" and computer_choice == "rock") or \
           (player_choice == "scissors" and computer_choice == "paper"):
          return f"Computer chose {computer_choice}. You win."
      else:
          return f"Computer chose {computer_choice}. You lose."