input: Write a python function to create a Character object and print its stats using the print_stats method.
  assert create_and_print_character("Hero", 100, 50, 20, 15, 10) == "Name: Hero \nHP: 100 \nMP: 50 \nStrength: 20 \nIntelligence: 15 \nDexterity: 10"
  assert create_and_print_character("Mage", 80, 120, 10, 25, 5) == "Name: Mage \nHP: 80 \nMP: 120 \nStrength: 10 \nIntelligence: 25 \nDexterity: 5"
  assert create_and_print_character("Rogue", 90, 40, 15, 10, 25) == "Name: Rogue \nHP: 90 \nMP: 40 \nStrength: 15 \nIntelligence: 10 \nDexterity: 25"
output: class Character:
      def __init__(self, name, hp, mp, strength, intelligence, dexterity):
          self.name = name
          self.hp = hp
          self.mp = mp
          self.strength = strength
          self.intelligence = intelligence
          self.dexterity = dexterity
  
      def print_stats(self):
          return f"Name: {self.name} \nHP: {self.hp} \nMP: {self.mp} \nStrength: {self.strength} \nIntelligence: {self.intelligence} \nDexterity: {self.dexterity}"
  
  def create_and_print_character(name, hp, mp, strength, intelligence, dexterity):
      character = Character(name, hp, mp, strength, intelligence, dexterity)
      return character.print_stats()