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...)

Answers

Answer 1

Answer:

Explanation:

a = input("what kind of pet the user has")

if a == 'cat':

  print("Too bad")

elif a == 'dog':

   print("Lucky you!")


Related Questions

The ______is the first part of a packet that contains the source and destination addresses. Select your answer, then click Done.

Answers

The first part of a data packet that comprises the source and destination addresses of a network is called a: header.

In Computer networking, the transmission control protocol/Internet protocol (TCP/IP) model refers to a standard networking protocol that allows network devices and host computers to interconnect and communicate with one another over a network, especially through the transmission of data packets and an Internet protocol (IP) address.

Generally, an IP address is typically designed and developed to hold information about data packets. Thus, a header is the information at the beginning of a data packet that comprises the source and destination addresses of a network.

In conclusion, a header is the first part of a data packet that comprises the source and destination addresses of a network.

Read more on header here: https://brainly.com/question/20629962

When it is being used to make a telephone call, your smartphone is an example of which part of the communication process

Answers

In the communication process, when your smartphone is being used to make a telephone call, your smartphone is an example of a: medium.

Communication refers to a process which involves the transfer of a message (information) from an individual (sender) to another (receiver), through the use of semiotics, symbols and signs that are mutually understood by both the sender and the receiver.

The Sender Message Channel Receiver (SMCR) model of communication is composed of four (4) main components and these are;

Sender (S).Channel (C) or Medium.Message (M).Receiver (R).

In the communication process, a smartphone which is being used to make a telephone call is an example of a medium or channel because it provides the pathway for the transmission of a message (information) from an individual (sender) to another (receiver).

Read more: https://brainly.com/question/17438207

PLEASE HELP! (NO LINKS)

The US Copyright Act gives computer programs the same status as what kinds of work?

Answers

Answer:

C.

Explanation:

In image below.

                                        Have a wonderful day and mark brainliest if I helped,

                                                                   starkitty052010 of Brainly

                                       

Other Questions
Emotions are often irrational, so they should not factor into decision making. A. True B. False Dorit wants to make farmers cheese. She knows that for 2 gallons of milk, she will need 14 teaspoon of rennet. She only has 12 gallon of milk. Which statement(s) describe the step(s) Dorit can take to determine how much rennet, in teaspoons, she will need to make cheese? Pls can someone pls help me Please show your work In a case involving internet transactions, jurisdiction is proper only when the defendant conducts substantial business in the jurisdiction online. 2) Which article would BEST connect to this text? A) An article about a famous social media influencer who travels around the world, visiting tropical beaches and swimming with exotic sea animals. An article about a tropical rainforest that is home to B) thousands of unique species, and whose habitat is being destroyed by farming and tourism. An article about a mountain range that is famous for () its ski slopes, which will be featured in a documentary with skiers jumping from helicopters. An article about a man whose life goal was to scuba D) dive in the Great Barrier Reef, but ultimately could not realize his dream due to health challenges. can someone help me with this f(x)=ax^2 +bx +c solve: heigh 275 width 290 COMPT What would you do if you won the lottery? How might you change as a result ofyour winnings? and side q has aIn the 30-60-90 triangle below, side s has a length oflength of30g109060SA. 5.10.15B. 10.13.20C. 105: 105 The gel below shows a result of the experiment you designed using the DNA of three different individuals (S1-S3). It also shows a negative (C-) and a positive (C ) control, as well as a DNA marker. Why did S2 have three bands An underground area where water can accumulate, often creating in a source of drinking water, is referred to as a(n) Follow the steps to finish solving the equation -3x +18 = 7x1. Add 3x to both sides to isolate the variable term.2. Divide both sides by 10.x= what is the prime factorization of 252 1. 2^2x7x92. 2x7x273.2^23^274.2^337 Describe the central theme of code of conduct for the hammurabi code what is the significance of the Athabasca oil sands in canada Which of the following best describes the law of demand?. A large company pays its salespeople on a commission basis. The salespeople receive $900 per week, plus 8.75 percent of their gross sales for that week. For example, a salesperson who sells $10000 worth of merchandise in a week receives $900 plus 8.75 percent of $10000, or a total of $1775. You have been supplied with a list of the products sold by each salesperson. The values of these products are as follows:Item Value1 1002 2003 3004 400Develop a script that inputs one salespersons items sold for last week, calculates the salespersons earnings and outputs HTML5 text that displays the salespersons earnings. Long winters and _______ made large scale farming in New England difficult How did the Missouri Compromise deal with the issue of slavery?