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

Identify the complete adjective clause. We drove to Cleveland, where the game was being played. We drove to Cleveland to Cleveland where the game where the game
A critical commentary on American drama would be a(n) __________ source for a literary analysis of The Importance of Being Earnest. secondary primary extraneous
There is a force between two charges; if the distance between the two charges is doubled, by what factor does the force between them change?
Answer it like it was your homework please
4 pieces of clothing pants shirts socks and hat if you randomly choose what is the probability that there are no blue socks
Help plz asap it's very important
Please help me by marking the correct answer to each part of number 9. I really dont get this at all, so please tell me why your answer is correct (step by step
If cot 17 degrees = 3.2709 find tan 73 degrees
What type of injury would most likely result from a sudden blow to the body?
what is osazone process?
good job