idkijustneedanswers9
idkijustneedanswers9 idkijustneedanswers9
  • 10-12-2021
  • Computers and Technology
contestada

PLEASE ANSWER (CODING IN PYTHON)


Ask what kind of pet the user has. If they enter cat, print “Too bad...”, if they enter

dog, print “Lucky you!" (You can change the messages if you like). Once this works,

add other pets. (Iguana, Pig, Rabbit...)

Respuesta :

giabao12 giabao12
  • 10-12-2021

Answer:

Explanation:

a = input("what kind of pet the user has")

if a == 'cat':

  print("Too bad")

elif a == 'dog':

   print("Lucky you!")

Answer Link

Otras preguntas

Three years ago, you bought 300 shares of Kayleigh Milk Co. for $45 a share with a margin of 50 percent. Currently, the Kayleigh stock is selling for $50 a shar
How did the agriculture result in more jobs for Neolithic man?
Identify the feature of life that is illustrated by each of the following statements. NOTE: You may use terms other than the characteristics of life! 1. ______
What did Martin Luther post on a church door to publicly criticize the misuse of indulgences?
QUICK I NEED HELP, ITS A TEST!!! There are four types of tissue in the human body True or false
ASAP HELP, PLEASE HELP ASAP Which statement accurately compares kinetic and Potential energy? Question 5 options: Gravity affect the amount of both kinetic and
How did the Union break its treaty with the Five Tribes when the Civil War started? A. They refused to pay the Five Tribes annuities required by treaties. B. Th
How did the safavids acquired their land via invasion, wars (Religious, ethnic, etc.)
Please help me ffuufgigjgjfufjdjfjckcmdhsndjf
Which of the following was used by both the Aztec civilization and the Spanish?