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

Part A: Find the LCM of 7 and 12. Show your work. (3 points) Part B: Find the GCF of 56 and 96. Show your work. (3 points) Part C: Using the GCF you found in Pa
Each of four friends orders a sweatshirt from a catalog. There are 16 colors of sweatshirts, 7 of which are all cotton and 9 of which are a blend. Each one orde
what is this qouschin
_____ research is also known as laboratory research and involves the study of cellular and molecular processes that cause nerve cells in the brain to stop funct
How to solve a system of linear equation by graphing? Step by step*
Select the correct answer. Which equation describes the line graphed? A. y= -4x-5 B. y= -1/5x-4 C. y= -5x-4 D. y= -4x-1/5
NEED AN ANSWER NOW FOR A TEST PLS!!! What is the volume of the rectangular prism?Formula: V = lwh
Find the circumference of the circle and show work
D. I’m on the same one!!
if we weren't fighting Russia during the cold war, then what were we fighting?​