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

Will Squidward ever make more than Patrick?  If so, what day will he start making more?  Explain.
Solve the following equation for x, in terms of a and b. ax = 15 + bx x=blank1/blank2 Blank 1________ Blank 2 _______
Organisms that can survive in changing conditions are called endangered species generalist species protected species specialist species
A proposed explanation made on the basis of limited evidence as a starting point for further investigation is... A hypothesis A variable A control group The Sci
Who is George Washington and why is he important? (Three sentences in your own words) best answer gets marked brainliest
Mercantilism what’s the principle that
Which of the following expressions is equal to m5? m · m · m · m · m m + m + m + m + m m · 5
The _____ or _____ explains symbols and colors on a map
7 - 15 - 3 simplify integers explain how you did it
A fish tank is shaped like a rectangular prism. It has o length of 5 feet awidth of 2 feet ondie height of 3 feet. What is the volume of the shton? 13 cubic fe