Animal Facts HW

Attempt on trying guessing game, I'm having trouble understanding on how to implement a class in a while/if statements