codes 7.2.8: Listed Greeting python
pls help i have no idea on how to fix this

Codes 7.2.8: Listed Greeting Pythonpls Help I Have No Idea On How To Fix This

Answers

Answer 1

The listed greetings program is an illustration of Python functions.

The error in the program is that the program is not properly indented.

Python program uses indents to identify blocks of code.

So, the fix to the program is to properly indent the code, and the fix (without the comments) is as follows:

def greetings(s):

   x = s.split()

   print("Hello, "+x[0]+"! I also enjoy "+x[1]+"!")

Read more about Python programs at:

https://brainly.com/question/16240699


Related Questions

A(n) ________ is a heavily secured server located between a company's secure internal network and its firewall.

Answers

Answer: bastion host

Explanation:

I need help fixing “Love Nikki” game on my phone. I had it on my phone and it worked just fine but then igot a new phone and tried theDownload it but when I opened up the app it kept saying update the game so I clicked update but then after that it wouldn’t even update and it just said update feel rule out mistake. I thought it was just my new phone so I went back to my other phone but it was doing the same thing. I have 5G on my new phone so internets not the problem.

does anybody know how to fix it so I can play the game again?

Answers

Answer:

Try resetting your phone multiple times or uninstall and add the game again. If not, check settings and see whats wrong. Or just sign out of your phone and sign in again. Hope this helps :D

How does the computer help me with school work

Answers

you are able to mark your answers on tests and save your work, while on paper, you get it taken away from you.
A computer can be helpful in completing your schoolwork by giving you access to countless sources of information, while educational games and programs can make learning fun. You'll also easily be able to submit neat, organized papers by using the computer's word processing, spreadsheet and presentation programs.

PA theme is a major message that a writer convoys through a text. you have explored many themes in the hobbit one theme in the novel is that good has the ability to triumph over evil. using specific examples from the text, explain how this theme develops over the course of the novel

Answers

Answer:

The Hobbit’s main theme is Bilbo’s development into a hero, which more broadly represents the development of a common person into a hero. At the beginning of the story, Bilbo is timid, comfortable, and complacent in his secure little hole at Bag End. When Gandalf talks him into embarking on the quest with Thorin’s dwarves, Bilbo becomes so frightened that he faints. But as the novel progresses, Bilbo prevails in the face of danger and adversity, justifying Gandalf’s early claim that there is more to the little hobbit than meets the eye.??????

Explanation:

Find the error in the following code fragment. int a: System.out.print(a):​

Answers

Answer:

If your using java, then its supposed to be "System.out.print("a")"    

Explanation:

its supposed to have quotations

To gain access to the functions and variables of a library module, use a(n) _________ statement. A. import B. export C. global D. library

Answers

Answer: import

Explanation:

Is this statement true or false? While in slide show mode, a click and drag is no different than a click. True false.

Answers

In slide show mode, it should be noted that a click and drag is the same as a click. Therefore, the statement is true.

It should be noted that slide show mode typically occupies the full computer screen. One can see how the graphics and animations will look during the actual presentation.

Rather than waiting and clicking, one can make the PowerPoint files open directly in the slide show mode. Therefore, it's not different from clicking.

Learn more about slideshow on:

https://brainly.com/question/25327617

Answer:

"True"

Explanation:

I took the test!

can some one make me a pandora account and give me the email and the password to it please

Answers

Answer:

Ill do it but you do know someone can see the information right?

Explanation:

python Better Password Prompt
Write a program that uses a loop and a half to prompt a user for a password. You should prompt the user for the password. If they get it correct, break out of the loop. If they don’t get it correct, you should give them an error message and ask again.

Sample Run:

Enter password: 123123
Sorry, that did not match. Please try again.
Enter password: password
Sorry, that did not match. Please try again.
Enter password: CODEHS
Sorry, that did not match. Please try again.
Enter password: abc123
You got it!
Note: You need to set SECRET to abc123 to run the tests

Answers

We use an indefinite while loop to keep the user entering the password. In the loop, we use if-else structure to check the password. If it is "abc123", the password is found and stop the loop using a break. Otherwise, the password is not correct. Note that since we do not use any break statement in the else part, the loop will continue asking for the input

Comments are used to explain each line of the code.

You may see the output in the attachment.

#set the SECRET

SECRET = "abc123"

#create a loop

while True:

   

   #ask the user to enter a password

   password = input("Enter password: ")

   

   #check if the password is equal to SECRET

   # if it is, state that password is correct and stop the loop using a break

   # otherwise, state that password is not correct

   if password == SECRET:

       print("You got it!")

       break

   else:

       print("Sorry, that did not match. Please try again.")

Here is another question related to the loops:

https://brainly.com/question/25694810

In the earliest stages of human history, what was the only medium?
ink
books
the human body
magazines

Answers

The only medium that was used for the dissemination of information during the earliest stages of human history is: C. the human body.

Information sharing is an integral part of human life because no human is able to live comfortably in isolation without the need to share or receive messages from others through a particular medium, especially for awareness, growth, development and proper decision making.

Prior to the medieval period, which is the earliest stage of human history, the human body serve extensively as the only medium that was used for the dissemination of information from one person to another.

This ultimately implies that, various symbols, signs and objects that were  mutually understandable to the people were drawn or written on human body, so as to serve as a medium during the process of communication.

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

What is the interface of an app?
a storyboard software
the part the user sees
a sketch of your idea
a testing environment

Answers

Explanation:

An application interface or user interface ,is the set of features an application provides so that user may supply input to and recieve output from,the program.

A ____ is a rectangular object you can click; when you do, its appearance usually changes to look pressed.

Answers

Answer:

button

Explanation:

I need some questions and answers in spreadsheet​

Answers

Answer:

you need to show what you need help with

Explanation:

What is precipitation ????

Answers

Answer:

Precipitation has 2 meanings

In chemistry it is the action or process of precipitating a substance from a solution

But in general it is the common term for rain, snow, sleet or hail that falls to the ground

Explanation:

Just look the definition up

Answer:

weather

Explanation:

Which type of relationship is responsible for teaching you values and how to communicate?
a.
online
b.
friend
c.
colleague
d.
family


Please select the best answer from the choices provided

A
B
C
D

Answers

answer:

its either b or d

explanation:

Tom is not sure how to code contents such as title and meta elements. These are coded as ____ elements.

Answers

Answer:

Tom is not sure how to code contents such as title and meta elements. These are coded as head elements.

Hope that helps. x

Answer:

head elements

Explanation:

answer is above

Question 11
Methods that return a decimal value must be declared using what type?


a. int

b. void

c. double

d. String

e. null


Question 12

Which of the following is true when x = 15?


a. (x >= 15) && (x < 13)

b. !(x > 13) || (x > 16)

c. (x > 13) && (x < 17)

d. (x < 15) || (x > 15)

e. (x <= 13) || (x >= 17)

Answers

Answer:

11. a, 12.c

Explanation:

bc numbers must be declared as ints and 15 is greater than 13 but lesser than 17

hiiiiiiiiihwdawdfgthnythgrfergthyjuhgfd

Answers

Answer:

Your answer would be gas.

Explanation:

Steam is just water just evaporated.

no i will not marry u

Which of the following applies to a trademark?
o belongs to just one company or organization
O always shown on the outside of a garment
O a way for people to copy a pattern
0 a mark that represents a product's "sold"
status

Answers

Answer:

a

Explanation:

Answer:

belongs to just one company or organization

Explanation:

edge 2021

I need an If else statement that sorts three numbers from a file from least to greatest

Answers

void sort3(int& a, int& b, int& c)
{
if (a > b)
{
std::swap(a, b);
}
if (b > c)
{
std::swap(b, c);
}
if (a > b)
{
std::swap(a, b);
}
}

Your grandmother tells you a dollar doesn't go as far as it used to. She says the "purchasing power" of a dollar is much less than it used to be. Explain what she means. Try to use and explain terms like inflation and deflation in your answer. ​

Answers

Answer:

The obtaining influence of a dollar is substantially less on the grounds that more cash is made and causes the value of the dollar greenback to diminish, making things increasingly costly. This is called swelling. In any case, when less cash is made, the value of a dollar greenback increments and things turn out to be more affordable. This is called flattening. As the years go on, the purchasing power of a dollar decreases and decreases.

Hope that helps. x

what is font tag? write the name of attribute which is used in font tag​

Answers

Answer:

The font tag is used to change the color, size, and style of a text.The font tag is having three attributes called size, color, and face to customize your fonts. To change any of the font attributes at any time within your webpage, simply use the <font> tag.

James works on history for 9/10 of an hour he works on English for 3/10 of an hour how much longer does James work on history than on English

Answers

james works 6/10 more of an hour

Is this statement true or false? While in slide show mode, if you are not careful you can close the application by clicking the x on the menu bar. True false.

Answers

Considering the Microsoft PowerPoint application, it is False that while in slide show mode, if you are not careful, you can close the application by clicking the X on the menu bar.

Why is it False?

During the slide show of documents whereby the pages of documents are being passed or moved automatically, or by itself, when a user mistakenly or intentionally presses the X on the Menu Bar, the window will ask the user if he wants to save the document before closing.

Slide show in Microsoft PowerPoint is one of the techniques in which a user or Speaker can make a presentation to the audience.

Hence, in this case, it is concluded that the correct answer is False.

Learn more about Microsoft PowerPoint here: https://brainly.com/question/14388120

Answer:

"False"

Explanation:

I took the test!

Is this statement true or false? Title text boxes on every slide must be the same format. True false.

Answers

false as you can adjust the boxes to your liking even add more if needed

URGENTT 2 SIMPLE EASY QUESTIONS PLZZ HELP ION UNDERSTAND COMPUTERR ILL GIVE U BRAINLEST

Answers

Answer:

I'll happy to help

Explanation:

Please make your clear. I couldn't understand!

Please clear your question I can’t understand

Vivo critique 6 sentences

Answers

Answer:

im sorry i cant understad

write the feature of ms-dos ?​

Answers

Answer:

Here you go

Explanation:

Features of MS Word :

Home

This has options like font colour, font size, font style, alignment, bullets, line spacing, etc. All the basic elements which one may need to edit their document is available under the Home option.

Insert

Tables, shapes, images, charts, graphs, header, footer, page number, etc. can all be entered in the document. They are included in the “Insert” category.

Design

The template or the design in which you want your document to be created can be selected under the Design tab. Choosing an appropriate tab will enhance the appearance of your document.

Page Layout

Under the Page Layout tab comes options like margins, orientation, columns, lines, indentation, spacing, etc.  

References

This tab is the most useful for those who are creating a thesis or writing books or lengthy documents. Options like citation, footnote, table of contents, caption, bibliography, etc. can be found under this tab.

Review

Spell check, grammar, Thesaurus, word count, language, translation, comments, etc. can all be tracked under the review tab. This acts as an advantage for those who get their documents reviewed on MS Word.

Source: https://byjus.com/govt-exams/microsoft-word/

Two primary disadvantages to the ______ BN type are that the routers in the network impose time delays, and routers are typically more expensive and require more management than switches. Group of answer choices

Answers

Answer: Routed backbone disadvantages are time delays and more expensive than switches

Explanation:

when demonstrating 2022 altima’s parking assistance, what steering feature should you mention when pointing out how easy the vehicle is to steer at low speeds?

Answers

Based on automobile technology, when demonstrating 2022 Altima's parking assistance, the steering feature one should mention when pointing how easy the vehicle is to steer at speed is "the Cruise Control w/Steering Wheel Controls."

What is Cruise Control w/Steering Wheel Controls?

The Cruise Control w/Steering Wheel Controls allow the driver or the user to adjust the car's speed to the present rate, either lower or higher.

The Cruise Control feature assists in providing additional time and distance between the car and another one in front when parking or highway.

Hence, in this case, it is concluded that the correct is "the Cruise Control w/Steering Wheel Controls."

Learn more about the same parking assistance in an automobile here: https://brainly.com/question/4447914

Other Questions
Read the passage about the life of Clara Barton.Clara Barton was born on December 25, 1821, in Oxford, Massachusetts. As a child, Clara was very shy. She first found her calling while caring for her brother after he fell from a rafter in their barn. Despite the fact that most teachers were still men at the time, Clara became a teacher at the age of 15, as well as one of the first women to work for the federal government at the US Patent Office. In 1881, Clara opened the first chapter of the American Red Cross in the United States and served as its first president. The American Red Cross is a relief organization that offers assistance to victims of such disasters as the 1889 Johnstown Flood and the 1900 Galveston Flood. She served as president for 23 years before resigning amidst claims that money was being mishandled internally.The Civil War was a bloody war fought between the years 18611865. During the war, Clara sought to help the soldiers in any way she could. She collected needed supplies and distributed them to the Union Army. These supplies included items such as food, bedding, and clothing. However, Clara was not content to sit on the sidelines; she often risked her own life to care for soldiers wounded in battle. For these deeds, she was nicknamed the "Angel of the Battlefield. When the war ended in 1865, Clara worked for the War Department helping in various ways.A yearbook page for Clara Barton includes "Claras pet peeve: suffering of any kind. What image would best illustrate this statement?A. Band aids in the shape of the letter x. B. A smile. C. A statue of men standing in a line. B. A teacher. Define photosynthesis? In 3-5 sentences, explain the role of the digestive system in animals, as well as how the system works. Why will nobody answer my questions..Which graph represents the solution to this inequality? -1/4(12x+8) Dr. W Sweet Rides Car Rental charges a flat fee of $24 and an additional $0.35 for every mile the car is driven. Which function models the total cost, C(x), of renting a car for x miles?If you drive 40 miles, how much can you expect to pay? One of the benefits of implementing a marking plan is that it assists in measuring market success. False True Question 44-1) Consider any organization you are aware of from work, study, or themedia. How do they manage people? Do people in those organizationsfeel important? You have to show work a measure is stated as 1000m correct to the nearest 50m find the lower bound The Demand Curve is a line that isdownward sloping and to the right.What important aspect of demanddoes this illustrate?A. At high prices, people want a small quantity. At lowprices, people want a large quantity.B. At high prices, people want a large quantity. At lowprices, people want a small quantity.C. People are indifferent to price. Caitlin has a cookie recipe that requires 1.25 pounds of sugar how many grams of sugar does she need Add: (g2 4g4 + 5g + 9) + (3g3 + 3g2 6) As a Paralegal, you have been asked to prepare a contract for your client based upon the following: Client: Tire Manufacturer, FT. Wayne, Indiana. The client is contracting to provide 15,000 tires per month to Car Assembly Plant in Louisville, Kentucky for the next 3 years. The price agreed upon is $30 per tire. The tires must be all-weather with a 60,000-mile warranty. It will be a destination contract. The car Assembly Plant is insistent that the tires be delivered in a manner so that there is always only a two-day supply stored at the Car Assembly Plant. The plant does not have enough room to store any additional tires. They would like there to be a penalty if the Tire Manufacturer brings too many. Your client is concerned about this provision as the number of cars manufactured each day varies. Car Assembly Plant is also concerned that the tire supply is never delayed because Car Assembly Plant has to pay the assembly workers if the assembly line stops because there are no tires. Car Assembly Plant wants Tire Manufacturer to pay for any downtime expenses due to lack of tires. Your Client would like there to be an Arbitration clause and that Indiana is the state to resolve issues. Additionally, there should be a Liquidation clause and a non-disclosure clause. Prepare a contract for your client. Attach the completed contract. Answer all questions PLEASE HELP WITH THIS assignment.Advanced AssessmentImagine that you are a social scientist studying Inca civilization. Your task is to create a special purpose map that will help the social scientist tell the storyof the Inca Empire. Remember that a special purpose map is used to explain a unique theme that is not explained through simple physical politicalmaps.Procedure:Step One: Research the Inca Civilization and decide on a theme for your special purpose map.Step Two: Based on your research use the following map to createspecial purpose map. Make sure to include the following on your special purposemap a title label landforms and waterways create a map key that allows a social scientist to interpret your mapStep Three: Answer the following question in a short paragraph: "What can a social scientist learn from studying the special purpose map that youcreated?" Careless cars cutting corners create confusion. find the value of n n+150+7+100=200+50+27 I really need helppppp Write a number using the following clues:a multiple of 6 greater than 30 but less than 90