input: Write a python function to create a Player object and call its attack and defend methods.
  assert create_player_actions() == "The Player is attacking!\nThe Player is defending!\n"
output: def create_player_actions():
      class Player:
          def attack(self):
              return "The Player is attacking!"
          
          def defend(self):
              return "The Player is defending!"
      
      player = Player()
      result = f"{player.attack()}\n{player.defend()}\n"
      return result