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

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!")

Answer 2

The program based on the information is given below.

What's the program about?

def main():

   pet = input("What kind of pet do you have? ").lower()

   if pet == "cat":

       print("Too bad...")

   elif pet == "dog":

       print("Lucky you!")

   elif pet == "iguana":

       print("That's interesting!")

   elif pet == "pig":

       print("Oink oink!")

   elif pet == "rabbit":

       print("Hop hop!")

   else:

       print("I'm not familiar with that pet.")

if __name__ == "__main__":

   main()

Learn more about program

https://brainly.com/question/26642771

#SPJ2


Related Questions

I'm confused as to if subclasses can call the supers without any implementation and what the right answer is

Answers

Answer:

E

Explanation:

Since Example1 and Example2 inherit from Example0, all classes have the method doNothing() at their disposal, so you can call it from e0, e1 and e2.

However, the arguments of this method are Example1 and Example2, so you cannot pass Example0 as a first argument, and you cannot pass Example0 or 1 as a second argument. That only leaves answer E.

You can call the inheritance relation an "is a kind of" relation. So Example1 is a kind of Example0, and Example2 is a kind of Example1, but also Example2 is a kind of Example0.

Now you can understand why e2 can be passed as an argument for Example1, because e2 is a kind of Example1.

Please help please help

Answers

Answer:

Bonjour,

Vraiment superbe idée, mais (eh eh, désolé) pour la version en ligne cela ne marche pas avec Brunoy par exemple en gare d’arrivée (j’ai même l’impression que ce n’est que pour les grandes lignes, pas pour notre pôvre petit RED D) et avec un peu moins de surprise, seule l’année 2014 peut être choisie.

Je profite donc de ce billet pour économiser 0.34€/min si vous pouvez avoir l’information de la durée de rétention des objets trouvés…

Merci

Bien cordialement

Az

ExplanationBonjour,

Vraiment superbe idée, mais (eh eh, désolé) pour la version en ligne cela ne marche pas avec Brunoy par exemple en gare d’arrivée (j’ai même l’impression que ce n’est que pour les grandes lignes, pas pour notre pôvre petit RED D) et avec un peu moins de surprise, seule l’année 2014 peut être choisie.

Je profite donc de ce billet pour économiser 0.34€/min si vous pouvez avoir l’information de la durée de rétention des objets trouvés…

Merci

Bien cordialement

Az:

Pls help me I beg u

Answers

Self attribute skills

What are some of the restrictions to muscle wire?

Answers

Answer:

Muscle Wire is an extremely thin wire made from Nitinol (a nickel-titanium alloy) that is known for its ability to contract when an electric current is applied.Although thin and lightweight, one of the most amazing things about Muscle Wire is that they can lift many times their weight and are able to do 100 times more work per cycle than the human muscle. This material is easy to use, small in size, operates silently, has a high strength-to-weight ratio, and is easily activated using AC or DC power. This technology is ideal where mechanics require minimization, such as electronic textiles projects, robotics or nano-applications.Muscle Wire is an extremely thin wire made from Nitinol (a nickel-titanium alloy) that is known for its ability to contract when an electric current is applied.

Which of the following statements best explains how multitasking works in the human mind?

Answers

Multitasking is a myth—everyone can only process information one piece at a time.

Answer: He's right

Explanation: I got the answer too

Jordan likes to use his smartphone in his car. He uses it as a navigation device and connects it via Bluetooth to listen to music. He has purchased accessories that allow him to see his smartphone while he is driving. On a very cold day, and after driving for several minutes, Jordan receives a warning from his smartphone that it is overheating and needs to shut down. When he touches his smartphone, it is hot. What might cause Jordan’s smartphone to overheat?
A. Bluetooth receiver is causing the smartphone to overheat.
B. The smartphone is located too close to the car’s heat vent.
C. The GPS receiver is causing the smartphone to overheat.
D. The screen has been active too long.

Answers

Answer:

I think A Bluetooth receiver is causing the smartphone to over heat

where deep convolutional neural network is used in real life

Answers

Answer:

Business applications of Convolutional Neural Networks. Image Classification - Search Engines, Recommender Systems, Social Media. Face Recognition Applications of RNN is Social Media, Identification procedures, Surveillance. Legal, Banking, Insurance, Document digitization - Optical Character Recognition.

WHEN IS THE DESIGN PROCESS FINISHED IN ENGINEERING?​

Answers

Answer:

I think answers is it never ends

Software that is used to detect and eliminate computer viruses. Question 3 options: Wi-Fi Cable Internet Antivirus Application Browser

Answers

Answer:

Anti Virus

Explanation:

Antiviruses (Windows Defender, McAfee, Avast) scan your computer/device for viruses.

Shadow and highlight create depth (3D).
TRUE OR FALSE

Answers

Answer:

true because then it would be like not popping out

2. It serves as the foundation of all crochet work. a. Chain stitch C. double treble b. Treble stitch d. slip stitch​

Answers

Answer:

a. chain stitch

because the foundation of so many crochet patterns involved a chain of × stitches followed by working sc/dc into the chain

A healthcare crisis where millions of patient medication records were tampered with is an example of what type of breach?

A.
integrity breachc.

B.
codependency breach

C.
authentication breach

D.
AIC Triad breach

Answers

A healthcare crisis where millions of patient medication records were tampered with is an example of; A: Integrity Breach.

To answer this question, let us access each of the options;

A) Integrity breach; This is a breach that occurs when where there is an unauthorised or accidental alteration of the personal data of individuals or a group.

B) Codependency breach; This is not really a breach in this context as it happens when there is an imbalanced relationship between two or more people.

C) Authentication breach; This is a type of breach that is more common with a breach of passwords and login details.

D) AIC Triad breach; AIC is Availability, Integrity and confidentiality. So it combines Availabilty breach, integrity breach and confidentiality breach.

In this question, the patient medication records were tampered with which means that they were altered and from our definitions above, this is an example of integrity breach.

Read more about security breach at; https://brainly.com/question/15957125

how many pages is 1500 words double spaced 12pt font?

Answers

Answer:

6 pages

Explanation:

many phone fraud scammers are expessily cunning because they approach the target to try to sell

Answers

Answer:

improved computer security programs

Explanation:

Answer:

Improved computer security programs.

Explanation:

Just took the quiz

What type of information is appropriate for headers and footers? Check all that apply.

Answers

Answer:

C,  E,F,G  are correct

Explanation:

Answer:

C,E,F,G  are correct.

Explanation:

A bulb has a resistance of 15Ω and is rated at 3A. What is the maximum voltage that can be applied across the bulb?

Answers

Answer:Wheres the option choice??????????????????????

Explanation:

Help please

What is an ordered pair?

1. a type of font in Microsoft Word

2. the end of the x-axis on a coordinate grid

3. two numbers that tell the location of a point on a coordinate grid

4. a type of table located in the Table drop-down menu

Answers

Answer:

two numbers that tell the location of a point on a coordinate grid

Explanation:

Answer:

Two numbers that tell the location of a point on a coordinate grid.

Explanation:

An ordered pair would look like this

(0, 4) or (7, 2)

the first number would be on the x-axis and then the second would be on the y-axis

Levi wants to run 5 commands sequentially, but does not want to create a shell script. He knows that each command is going to take approximately 20 minutes to run individually. However, he would like to go to lunch 15 minutes from now. He knows that he can type all of the commands on the same line and separate them with a certain character to run them sequentially.

Required:
Which character can he type after each command to have them run one after the next without requiring further input from him?

Answers

Answer:

um

Explanation:

what subject is this again?

! (( i > ( f + 1)) es verdadero o falso segun la logica de programación.

Answers

Answer:

yeajadaj

Explanation:

The navigation items for a Lightning app are available on mobile: A. In a special mobile configuration in the navigation menu and in Favorites B. In the profile menu, when in the app C. In the navigation menu and the first four items of the navigation bar, when users are in the app D. In the App Launcher Check the Quiz to Earn 100 Points

Answers

Navigation items are used for moving from one part of the part to a destination using actions and also for passing information. The right option is  C. In the navigation menu and the first four items of the navigation bar, when users are in the app

There are different methods/ways to implement the Navigation component in a mobile application, we have the following type of Navigation Implementation

Bottom NavigationDrawer Navigation(Slides from Left to right)Top Navigation

Learn more about Navigation here:

https://brainly.com/question/8908486

i need freinds.:(plz

Answers

Answer:

Explanation:

sure wassup

Answer:

i'll be your friend!

Explanation:

A means of giving credit to a source when their information is used.
Question 15 options:

Citation

Wi-Fi

Asynchronous Communication

Malware

Answers

It is a citation for the answer

You can use the ____ method to search a string to determine whether it contains a specific sequence of characters.

Answers

Answer:

in

Explanation:

Not an explanation, but here's an example:

if "mouth" in "mouthwatering":

   print("It is.")

else:

   pass

Another example:

if "water" in "mouthwatering":

   print("Yes.")

else:

   pass

please answer ASAP!!!!!!

Answers

Answer:

the first constructor invocation will work.

pet temp("mouse", 5.99);

Explanation:

This will create a pet object on the stack, using the constructor.

If you want to create an object on the heap, you would use the new operator:

pet* pTemp = new pet("mouse", 5.99);

Tynker has a particular layout, with the blocks on the left, editor in the middle, and output on the right. Which word best describes this screen layout?
block-based
interface
editor
player

Answers

Interface best describes the layout of the screen.  This is done by designers

in which they help to design the appearance and style of various software

and devices.

These characteristics help to ensure the users find them friendly and easy to

navigate through when performing various operations .

In this scenario, we were told that the layout has blocks on the left, editor in

the middle, and output on the right which are designs for easy navigation on

Tynker.

Read more about Interface here https://brainly.com/question/5080206

Answer:

interface

Explanation:

what is a saved link to a particular web page?​

Answers

Answer:

A bookmark

Explanation:

A bookmark is a saved link to a particular Web page. Microsoft Internet Explorer denotes bookmarks as “favourites.” Boolean operators Most search engines (e.g. Go.ogle) allow you to limit your search or make it more specific by using words such as “and”, “or” and “not”.

WRITE A PROGRAM TO CALCULATE SIMPLE INTEREST

Instructions to do the program:-

The output format of the program should be as shown below:

P = 2000

R = 8

N = 4

Simple Interest = 640
pls help

Answers

The simple interset program is a sequential program, and does not require loops and conditions

The simple interset program in Python, where comments are used to explain each line is as follows:

#This gets input for the principal amount

P = int(input("P = "))

#This gets input for the rate

R = int(input("R = "))

#This gets input for the number of years

N = int(input("N = "))

#This calculates the simple interest

I = P * R * T * 0.01

#This prints the simple interest

print("Simple Interest =",I)

Read more about simple interest at:

https://brainly.com/question/2294792

is there actually a difference between left and right twix

Answers

one has more caramel and one has more cookie

what is syllabus of diploma in computer after class 10​

Answers

Answer:

[tex] \: [/tex]

List Of Best Computer Courses After 10th :

Certificate Program In MS OfficeBasic Computer CourseWeb Designing CourseDigital Marketing CourseData Entry CourseGraphic Designing CourseWeb Development CourseAnimation And VFX CourseComputer Science Diploma/EngineeringDiploma In Financial Accounting

Can you help me to write a code with functions,arrays,and pointers in c++?
It can be a basic game or an interesting program.
But a little bit complicated :)
Please I need help :(((​​

Answers

Answer:

Your search for complete and error-free projects in C and C++ ends here! Here, we’ve enlisted all the mini-projects, projects, games, software and applications built using C and C++ programming language — these are the projects published in our site or available with us at the moment. You can download all these projects (with source code) for free; make sure to check their individual post description as well.

First thing, most students learn C and C++ as their first programming language. They quickly become able to write programs that include functions, arrays and pointers, file handling and data structure, etc. But, when it comes to building a mini-game, an application, or a small project, incorporating all these features in one compact program becomes difficult.

In such case, reference projects always come in handy. The C and C++ projects published in our site will teach you how to get started, give you ideas and topics regarding your project, and sharpen your programming skills in C and C++. Here, you’ll find short and simple as well as long and complicated projects.

Other Questions
the school parking lot has a surface area of 841 square meters and is square in shape calculate the length of one side of the parking lot Assuming a current is flowing, what increases the strength of the magnetic field of a coiled electrical wire? Select all that apply. Straightening the wire changing the direction of the current flow adding more coils to the wire placing a metal bar within the coils stopping the current. Blonde hair is produced by inheriting double recessive alleles (bb) from ones parents. What is the probability of their offspring having blonde hair?plz help Which planets have strange orbital motion that do not look like the other planets?Earth and UranusVenus and UranusVenus and MarsEarth and Mars DNA and RNA are the same thing. True False Put the following in correct order for endochondral ossification. a. Mesenchymal cells of the embryo develop into cartilage-producing cells b. The periosteum (formerly perichondrium) begins to produce a thin layer of compact bone c. A hyaline cartilage model of the future bone is formed. d. Cartilage is the midregion of the model becomes calcified. e. Spongy bone tissue develops at the primary ossification center. f. Secondary ossification centers produce spongy bone tissue of the epiphyses. g. Medullary cavity is formed. The minimum legal standard companies such follow to avoid negligence conduct is"extreme care."TrueFalse pls help if you can. Why is one side of my jaw bigger/puffier then the other, and how can i fix it guys cqn you help me please The Viet (or Kinh) have______ number of people, account for about 86% of the population. a.largeb.the largec.largerd.the largest Give four sentences for this English question The War of 1812What specific items did steve pleasanton save from the capital? A goal that takes 5 years or longer to achieve is called an extended-term goal a long-term goal a mid-term goal a part-term goal Poema sobre la economa de Republica Dominicana I'm writing a short story about a clown stalking a little girl, it's not finished but can anyone give me a suggestion on what to change in the writing and maybe come up with an ending cause I'm having a bit of trouble.In October of 2016, a twelve-year-old girl named Samantha lived in a suburban town, after school her friend invited her to a Halloween party later at night. She accepted her request but of course like every other kid, they had to get permission. She later came home and asked their parents if she could come to the party, short answer...no. Samantha tries to argue with them but, no luck. Later in the evening, Samantha was getting frustrated. Then she thought I could sneak out of the house while mom and dad are sleeping., and so thats what she did. A few hours later she started to get ready, wearing her witch costume. She quietly sneaks out of her room into the hallway, the wooden floor creaking. She gets to the front door, walks out of the house, and slowly shuts the door. She looked around, seeing the streets were completely empty. She began walking down the street, slowly realizing she didn't know where she was going. After about a few minutes she was completely lost: didn't know her way back home, nor which direction to take. The fear of being alone crept up to her. All of a sudden she hears a bit of laughter coming from behind her. She turns around, her eyes widening as she sees a tall man in a clown costume, looking at her with a sinister smile. Samantha didn't know what to do, she quickly started to walk away, the clown follows. She yells, "Back off creep!". She started running, so did the clown chasing after her. She yelled and screamed for help, nobody was around. She gets to a nearby park losing sight of the clown. She hides behind a tree not knowing what to do. She peeks around seeing him, wandering around looking for her. She was trembling in fear, being cold and alone. Then she heard sirens in the distance and the clown immediately runs away. 1) Find the probability of rolling anumber greater than 3 on a standardnumber cube. What happens to an individual when their ability to choose is taken away?Question 1 options:they may feel empoweredthey may feel helplessthey may become more independentall of these may happen- When groups of molecules within liquid and gases move, it is calledkinetics.O radiation.conduction.convection. Identify the transitional word/s or phrase/s in the following sentence/s. Identify the type of transition. In the course of their struggle, some of the Mothers of the Plaza de Mayo began to see themselves as inheritors of their children's dreams and responsible for carrying forward their children's work, even to the adopting the radical agenda embraced by some of their disappeared sons and daughters. As a result, the Mothers of the Plaza de Mayo Association faction led by Hebe de Bonafini takes a more political approach. This group does not doubt the fact that their children disappeared, and they are aware that the majority of them faced torture and most of them were ultimately murdered. Nevertheless, they are refusing any help offered by the government as compensation for their children's absence. Many still maintain that they will not recognize the deaths until the government admits its fault and its connection to the dirty war and its systematically forced disappearances.