Write the function greeting that takes a string as input. That string will be formatted as Name Age Hobby, without any punctuation. greeting should split their response into list elements, then use index values to greet them by name and respond that you enjoy that hobby as well, with the format: ‘Hello, ! I also enjoy !' Make sure your output matches this format! For example, greeting('Jose 17 hockey') # => 'Hello, Jose! I also enjoy hockey!' greeting('Cindy 14 robotics') # => 'Hello, Cindy! I also enjoy robotics!'

Answers

Answer 1

Answer:

The function in Python is as follows:

def greetings(details):

   details = details.split(' ')

   print('Hello, '+details[0]+'!, I also enjoy '+details[2])

Explanation:

This defines the function

def greetings(details):

This splits the input string by space

   details = details.split(' ')

This prints the required output

   print('Hello, '+details[0]+'!, I also enjoy '+details[2])

After splitting, the string at index 0 represents the name while the string at index 2 represents the hobby


Related Questions

Who else hates brainly cause they took over 400 points out of my other account and left me at -324 points so copy and paste this every where

Answers

SAME! Instead, it was 630!! It was so unfair tbh, and I did nothing wrong.

Answer:

That's terrible :(

Explanation:

What the price of XRP right now??????

Answers

Answer:

$0.579

Explanation:

I'm pretty sure that's the answer.

a*=++a/6+b++ 3 if a=3,b=4​

Answers

Answer:

[tex]a=22.5[/tex]

Explanation:

Given

[tex]a*=++a/6+b++3[/tex]

Required

The result when [tex]a=3[/tex] and [tex]b=4[/tex]

Analyzing the given instruction

a*=(++a)/(6)+(b++3)

Single out and solve the expressions in bracket

(++a) = a -- When the ++ operator appears before an operand, it is called pre increment. meaning that the operation will be done before the operand will be incremented.

So: in this case: ++a = a

[tex]b++3 = b + 3[/tex]

The operator, as used in that statement is the same as: b + 3.

So:

[tex]a*=(++a)/(6)+(b++3)[/tex]

[tex]a*=(a)/(6)+(b+3)[/tex]

[tex]a*=(3)/(6)+(4+3)[/tex]

[tex]a*=0.5+7[/tex]

[tex]a*=7.5[/tex]

The above expression is calculated as:

[tex]a=a*7.5[/tex]

So:

[tex]a=3*7.5[/tex]

[tex]a=22.5[/tex]

3
Type the correct answer in the box. Spell all words correctly.
Which program can damage your computer?
can cause damage to my computer.
Reset
Net

Answers

Answer: Look in /Library/LaunchDaemons for a plist file that is out of place. It may actually have ActivityInputd in the name.

If there is, move it to the Trash.

Open Network System Preferences, select the service you use to connect to the Internet, and click the Advanced button.

Click on the Proxies tab and uncheck any of the proxies listed in the “proxies to configure” list.

Restart.

Explanation:

PLEASE HELP Type the correct answer in the box. Spell all words correctly. Ross wants to add a graph from a text file format into his database. Which feature will enable him to add the graph in his database? Ross can use the______data feature to add the graph in his database.

Answers

Answer:

the answer to your problem is (insert)

Explanation:

Click Chart under the Illustrations group on the Insert tab.The Insert Chart dialogue box's arrows can be used to cycle through the various chart kinds.Click OK after selecting the type of chart you like.

What insert data feature to add the graph?

Select Data by selecting with the right mouse button on the chart. The Select Data Source dialogue box appears on the worksheet where the chart's source data are placed.

Click in the worksheet, then click and drag to choose all the data you wish to use for the chart, including the new data series, while keeping the dialogue box open.

The Insert SQL command is used to add new records or data to tables. Because it is used to alter database data, it is seen as falling within the umbrella of statements known as Data Manipulation Language (DML).

Therefore, insert data feature to add the graph in his database.

Learn more about insert data here:

https://brainly.com/question/14331259

#SPJ2

What are your thoughts on the last nintendo direct

Answers

Answer:

I don't know? How do you feel about them?

Explanation:

Answer:

Wait, what's that-

Explanation:

Before using an advanced filter, you must first set up a(n) ________.
(Microsoft Excel)

A. Structured Range
B. AutoFilter
C. Slicer
D. Criteria Range

Answers

the answer is b autofilter

Use the drop-down menus to complete statements about back-up data files.

The default storage location for back-up data files is in the local
folder.

PST files are not
in the Outlook client, and users must
the files

to make them usable.

Answers

Answer:

the third one trust me

Explanation:

Answer:

Documents

accessible

import or export

Explanation:

Edge, just did it

Explain how malware can be used in cyber warfare or a cyber terrorism attack on a country?

Answers

Answer:

Malware can be utilized to damage infrastructure that utilizes computers. It can manipulate what a computer is doing. In this way, a piece of malware could be designed to target government operations, such as government office computers, and then steal and wipe data from a computer. In other ways, a piece of malware could target the water supply control computers, and removing safety features, or target the power grid. This is why infrastructure necessary for day to day life and survival should be separate from the Internet, which can remove a major vulnerability.

Which of the following is referred to as "keeping up with the Joneses"?

Answers

Answer:

This phrase basically means keeping up with the trend. You can get an Android for cheaper but you get the high quality iPhone because it appears rich and overall, better. But it's used a lot to say, "you're wasting money"

Theo would like to apply formatting to record data based on values in comparison with values in other fields. Which option should he use?

Conditional Formatting
Access Rules
Expression Builder
Field Validation Rules

Answers

Answer:

Conditional Formatting

Explanation:

A database management system (DBMS) can be defined as a collection of software applications that typically enables computer users to create, store, modify, retrieve and manage data or informations in a database. Generally, it allows computer users to efficiently retrieve and manage their data with an appropriate level of security.

A data dictionary can be defined as a centralized collection of information on a specific data such as attributes, names, fields and definitions that are being used in a computer database system.

In a data dictionary, data elements are combined into records, which are meaningful combinations of data elements that are included in data flows or retained in data stores.

This ultimately implies that, a data dictionary found in a computer database system typically contains the records about all the data elements (objects) such as data relationships with other elements, ownership, type, size, primary keys etc. These records are stored and communicated to other data when required or needed.

Conditional formatting is a feature found in a lot of spreadsheet software applications such as Microsoft Excel and it avails end users the ability to apply specific formatting options to cells based on certain defined criteria.

Basically, it is used for highlighting, emphasize, comparing or differentiating between data (information) stored in a spreadsheet document i.e data values that are lesser than or greater than a specificied value.

In this scenario, Theo would like to apply formatting to record data based on values in comparison with values in other fields. Thus, the option he should use is conditional formatting.

Answer:

A

Explanation:

how old is the letter 3 on its 23rd birthday when your car turns 53 and your dog needs gas and your feet need lave then when is your birthday when your mom turns 1 and your younger brother is older then you

Answers

Answer:

ummm...idr.k..u got me....wat is it

Explanation:

Anyone who know how to use canva .com please make a logo of the name : Deadly Sins

Answers

Answer:

Yes ma'am as in the anime?

Explanation:

Cuz there's a anime show called 7 deadly sins or just deadly sins?

Answer:

hello give the person above brainlist

Explanation:

2 When you add text with the Text Tool, __________. the text is added to the current layer a new floating selection layer is created the text is added to every layer a new layer is created

Answers

Answer:

A new floating selection layer is created

Explanation:

In a graphic design software for example like CorelDraw, if  a text tool is used to add text, a new floating selection layer is created in which, the text is inserted.

Question
You want to draw a rectangle over the moon you added to your slide and then move it behind the moon. You want it to look like a frame. What ribbon tab would you click to find the tool to add the rectangle?

Animations
Insert
Design
Home

Answers

Answer: Insert  :-) !

Explanation:

the taskbar contains what

Answers

Answer:The taskbar is anchored to the bottom of the screen by default, but can be moved to any screen side, and contains the Start button, buttons for pinned and running applications, and a system tray area that contains notification icons and a clock.

Explanation:

Choose the correct term to complete the sentence.

______ uses objects that represent classes to manage, manipulate, and store data.

•Object-defined programming

•Object-oriented programming

•Oriented programming

Answers

Answer:

Object-oriented programming

Explanation:

When used in object-oriented programming , a class is a factory for creating object. An object is a collection of data and behavaiors that represent some entity(real or abstract).

Answer: Object-oriented programming

Explanation: got it right on edgen

You can set up an AutoFilter to find specific formatting.
True or False
(Microsoft Excel)

Answers

Answer:

I think you can, so id say its true.

Explanation:

Write a program in Python which prints your name, surname and class.

Answers

Answer:

print(name + "\n" + surname + "\n" + class)

Explanation:

not enough information is given but this will print those three variables with a newline between each.

You've just received an e-mail message that indicates a new serious malicious code threat is ravaging across the Internet. The message contains detailed information about the threat, its source code, and the damage it can inflict. The message states that you can easily detect whether or not you have already been a victim of this threat by the presence of the three files in \Windows\System32 folder. As a countermeasure, the message suggests that you delete these three files from your system to prevent further spread of the threat. What should your first action based on this message be?a. Perform a complete system backup.b. Verify the information on well-known malicious code threat management web sitesc. Distribute the message to everyone in your address book.d. Reboot the system.e. Delete the indicated files if present

Answers

Answer:

B.) Verify the information on well-known malicious code threat management web sites

Explanation:

Of course, you should verify the message with reliable sources before taking any actions that could impact your computer. Even if the message seemed legit, it telling you to fiddle with the Windows system folder is a red flag.

Verify the information on well-known malicious code threat management web sites. The correct option is b.

What is malicious code threat?

The threat posed by malicious code to application security cannot be effectively addressed by traditional antivirus software on its own.

Attack scripts, viruses, worms, Trojan horses, backdoors, and malicious active content are all examples of the broad category of system security words known as harmful code.

Malware attacks are frequent cyberattacks in which the victim's system is compromised by malware, which is typically malicious software.

Ransomware, malware, command and control, and other specialised sorts of attacks are all included in malicious software, sometimes known as viruses.

The notification advises you to remove these three files from your system as a countermeasure to stop the threat from spreading further, but you should first double-check the information on reputable harmful code threat management websites.

Thus, the correct option is b.

For more details regarding malicious attacks, visit:

https://brainly.com/question/13137381

#SPJ5

Which of the following is NOT present on the Title Bar?​

Answers

Answer:whats the question

Explanation:(pls dont report me as soon as u tell me the question i will edit my answer and answer correctly)

Hello, I am smart without showing off and I will help you with your homework and tell you the correct answers (◠ᴥ◕ʋ).​

Answers

Answer:

HII CSN U ANSWER MY MATH QUESTION

"love takes off masks we fear we cannot live without and cannot live within" what is the meaning to this quote?​

Answers

Answer: It's similiar to the quote "You bring out the best of me" When you're in love, you feel the need to be yourself and that you don't have to hide it.   Love brings out the real you.

Hope this helps.

Explanation:

Which of the following is not a key component of a structure?
A. Name
B. Properties
C. Functions
D. Enumerations

Answers

Answer:

D i think

Explanation:

What are inserted to show the total number of pages in Word?

Answers

Answer:

Include total number of pages in the page number

Go to Insert > Page Number.

Do one of the following: Select Current Position if you have a header or footer. Select a location if you have no header or footer yet.

Scroll until you see Page X of Y and select a format.

Select Close Header and Footer, or double-click anywhere outside the header or footer area.

why is page formatting important??​

Answers

Answer:

Perhaps one of the most important things you can learn in Microsoft Word is how to format your page with elements such as margins and page breaks. Formatting your pages makes them look more attractive and makes them easier to read.

Answer:

Formatting is important for two reasons: It makes your essay look like an essay (rather than a letter or a note to a friend). It helps to make your essay more readable.

Explanation:

What is the difference between Input, Output, and Storage Devices?

Answers

Answer:

Explanation:

There are three different types of peripherals: Input, used to interact with, or send data to the computer (mouse, keyboards, etc.) Output, which provides output to the user from the computer (monitors, printers, etc.) Storage, which stores data processed by the computer (hard drives, flash drives, etc.)

There are three different types of peripherals: Input, used to interact with, or send data to the computer (mouse, keyboards, etc.) Output, which provides output to the user from the computer (monitors, printers, etc.) Storage, which stores data processed by the computer (hard drives, flash drives, etc.)

Which of the following is a true statement about parameters in data management? Check all that apply.

Answers

Answer:

Parameters are used to limit or refine results.

A multiply parameter contains more than one condition to locate, sort, or filter data.

Searching for the number 12 in your spreadsheet is an example of a simple parameter.

Explanation:

Answer:

1,3,4

Explanation

Task 1
Take a look at the pictures below.
Picture B
Picture A
1. Describe the two images.
2. Does the image show observance of occupational health and safety
procedures while doing the computer-aided drawing?
6​

Answers

Answer: yes they do

Explanation: they both show the same references.

why is it necessary to have usernames and passwords if one is working on a network?​

Answers

Answer:

So nobody finds and uses your personal information

Other Questions
Can someone help me with a question!?!? If 9x = 63, then x = ___. 9. If AJKL - ANML, find the values of x and y. 5. Which is the correct order of how the inner planets were formed? 1. A square and a rectangle have the same area. The length of the rectangle is 32centimeters, and the width of the rectangle is 2 centimeters. What is the length, incentimeters, of a side of the square? What was the carbon cycle on the prairie like? Can someone please help me with the right answer? I only have one more attempt :( Explain which type of direct-services intervention would be the most effective in the following scenario.Situation: Scott has struggled since losing both of his parents to cancer. He is on his own, living in a small, two-room bachelor apartment. His depression has caused him to get back in touch with the wrong crowd, and his drinking and drug use have increased. He feels as if his life is spiraling out of control, but he feels helpless to stop it on his own. oscar earns extra money, m, working two weekends with his uncle. he is saving to buy a new scooter that costs $138. Fantasia says that Oscar needs to earn more than $7 each hour he works to have enough money to buy the scooter. Explain why she is incorrect. In a survey of favorite pets, 45 students said they preferred cats. This was 30% of the total number of students surveyed. How many students took the survey? in the table below list the advantages and disadvantages of using each stem cell to ad a treatment for lupus Two facts about the US in the cold war and two facts about the USSR (Union of Soviet Socialist Republics) in the cold war PLEASE HELP ILL MARK BRAINLIEST!!! Find the area & circumference of the circle. Use pi=3.14 The graph of a line and and exponential intersect twice, once, or not at all. Describe the possible number of intersections of each of the following pairs of graph. Your solution to each part should include all of the possibilities and a quickly sketched example of each one. (Part 1)(SHOW WORK)a. A line and a parabolab. Two different parabolas Three phase induction motor Leakage Reactance five times Resistance for stator and rotor and impedance for stator and rotor is equal . Slip at full load is 0.02 .calculate the resistance that added for starting current equal three times full load current , Calculate starting torque in this case . if the slip ring is short circuited calculate the ratio of starting current in two cases .no. of poles is 4 and frequency is 50 Hz . Which sentence is an example of exaggeration?A. I really enjoy going to the local library and playing at the local baseball fieldB. however, there is one thing our town cannot go on withoutC. Few things make dogs happier than runningD. I walk my beagle daily, and often see other people out walking their dogs. (OMG PLEASE HELP ASAP!!:c)What is the major function of proteins in cells? 1.They contain the instructions for the cell to carry out all the functions of life 2.They provide components of cell membranes and organelles and speed up chemical reactions 3.They provide energy and components of cell walls and cell membranes They provide energy and components of cell walls and cell membranes 4.They store energy and provide certain components of cell membranes pls help no wrong answers pls Order the rational numbers from least to greatest. Which is a cause for a media disruption?Outdated pluginsFlash relianceOutdated definitionsJavaScript not installed