Solved

Case Study 2: 1. Def LiveALittle(self)

Question 6

Multiple Choice

Case Study 2:
1. def liveALittle(self) :
2. self.__breedTick = self.__breedTick + 1
3. ??????
4. self.tryToBreed()
5.
6. self.tryToEat()
7.
8. if self.__starveTick == 10:
9. self.__world.delThing(self)
10. else:
11. ??????
-Refer to the session in the accompanying Case Study 2, which shows the liveALittle method for the Bear class. What belongs on line 11?


A) world.delete()
B) fish.tryToEscape()
C) self.tryToMove()
D) world.tryToMove()

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions