Question: Please solve in Python: Please extend the class Monster and define class Yeti Yeti: . . monsterType-string value = Yeti name - string value, describes

Please solve in Python:Please solve in Python: Please extend the class Monster and define class

Please extend the class Monster and define class Yeti Yeti: . . monsterType-string value = "Yeti" name - string value, describes name of Yeti weaponsDict - dictionary, contains information about weapons and their power. For example Sword=5,Knife=1. Monster has no weapons at the beginning. is Happy-True/False value, attribute defines if the monster is happy . methods Change Mood(is Happy)-function sets the value of is Happy attribute Fight() - function returns 0 when Yetti is happy, otherwise returns 10 Please create 1 Monster and 1 Yetii. Please add weapons to the monsters. Please add monsters to the list and present the use of methods :Fight() and GetInfo()

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!