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

42 is 30%of what number
A total of 350 signatures is needed for a petition to be considered by the town legislature. If 125 signatures have already been obtained, what percentage of th
is 0.1km greater than 10mm?
What is a series of events that cells go through as they grow and divide?
a 4 sided shape has interior angle of 71°,200°,77° whats is the last side???
How do I identify the lines of symmetry in a conic section?
What fraction of 1 gallon is 1 quart
what is 124/144 in simplest form
What fraction of 1 gallon is 1 quart
How does meiosis affect genes