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

Mention the products on which different stages of product Life cycle are not being property reflected.
What is a function quiz
i Really need help with my math hurry its done today
TRANSLATE THE FOLLWING STATEMENT TO THE FOLLOWING EXPRESSION
Use elimination to solve each system of equations 3x - 5y= 11, 5(x + y) = 5
What is true of evidence? It is always verified by a large group of people. It only comes in one form. It does not need to be supported by facts.
How many solutions does the following system of equations have?
Choose the whole number or mixed number that is equivalent to this improper fraction. 49 10 A. 49 10 B. 39 10 C. 47 7 D. 3
. In a fiduciary relationship between agent and company, the company owes all of the following duties to the agent EXCEPT:
need help wit this math please