In Fantasy Quest, a weapon can be enchanted to do bonus damage.
Complete the enchant_and_attack function. It creates a new "enchanted" name for a weapon and calculates how much damage the enchanted weapon will deal to a targeted enemy.
It accepts 3 parameters:
target_health: integerdamage: integerweapon: stringIt should do the following things in the function body:
sword -> enchanted swordaxe -> enchanted axe