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

The ________ command is one of the most commonly used command-line commands. It can be used to check IP connectivity between two network devices.

Answers

Answer:

ipconfig

Explanation:

That is the actual

command

Need Some Photography help

Answers

C I believe cause that’s what my teacher always told us to do

Which of the following is a responsibility of CTSO membership?

getting all As in your classes

traveling to a national conference

conducting yourself appropriately and professionally

getting a job in your career field after graduation

Answers

Answer:conducting yourself appropriately and professionally

Explanation:

2021 edg

if a granola bar has 5.7 grams of protein in it how many centigrams of protein does it contain?

A. 57

B. 0.57

C. 570

D. 5,700 ​

Answers

The answer is 570 hope it helps

to find detailed information about the origin of an email message, look at the ________________.

Answers

Answer: header

Explanation:

An animation of a person standing with their arms extended out to their sides. There are 3 dimensional boxes around the torso of the person showing how to create a shirt. What animation process does the photo above help you visualize? a. Morphing c. Motion capture b. Building 3 dimensional models d. Animation rendering Please select the best answer from the choices provided A B C D

Answers

Answer:

c

Explanation:

A(n) ________ address is the address that external entities use when communicating with your network.

Answers

Answer:

IP adress

Explanation:

the IP adress is like your home address but for your computer. it tells the whatever is connecting where it's located so it can find where to send the data

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

When a number gets assigned to a variable that already has a value __________. the new number overwrites the previous value at that memory location the new number gets assigned to a neighboring memory location the computer issues an error the new value is destroyed and the old value remains

Answers

Answer: the new number overwrites the previous value at that memory location

Explanation:

When a number gets assigned to a variable that already has a value, the new number overwrites the previous value at that memory location. The correct option is A.

What is assigning value?

To "assign" a variable is to symbolically link a specific piece of data to a name. Any operations performed on this "name" (or variable) must be true for all possible values.

The assignment operator is the equals sign, which should never be used for equality, and should never be followed by the double equals sign.

To assign a value to a variable, use the simple assignment operator. The assigned value is evaluated by the assignment operation.

It is possible to chain the assignment operator to assign a single value to multiple variables.

When a variable receives a new value, the previous value is overwritten.

Thus, the correct option is A.

For more details regarding assigning value, visit:

https://brainly.com/question/28587274

#SPJ2

Which line of code will allow the user to enter their current temperature to the nearest tenth of a degree?Group of answer choicesnum1 = input(""What is your temperature?"")num1 = int(input(""What is your temperature?"")num1 =float(input(""What is your temperature?""))1num = print(""What is your temperature?)

Answers

In programming we have different data types and in this question two data types was specified, Int and float, the only data type that can receive input to the nearest tenth of degree is float, hence, float(input(""What is your temperature?""))

Data types are use as place holders, we have the primitive and non-primitive data types

Example of data types are FloatArrayIntegerDoubleString

Learn more about data types at

https://brainly.com/question/179886

1. What is the difference between a columnn and a row?
2. How many rows are being used?
3. How many columns are being used? rows?
3. Who got the highest grade on Quiz 1? What is its cell reference?
5. What is the range of cell of all the names of the students?

Answers

1. Column is like the one shows as A B C it’s like a Group. row is like each person from the group like Column A is the students names Column B is their 1st quiz grades I’m sorry if ur confused I’m bad at explaining it

3.) The primary storage device that holds the data currently being processed by the computer is​

Answers

Computer memory I hope it works

Answer:

I personally think its a hard drive or something like that,im not a computer expert to be honest

create a parameter query where the user will enter a value to use as the criterion

Answers

Click in the Criteria row in the InsuranceType column and type [Enter Insurance Type]. Click the Run button. Type dental when prompted. Click OK.

What is data communication.. ​

Answers

What is data communication?

The exchange of data between source and a receiver by way of transmission media such as a wire cable

Hope this helps you!!

URGENT!! thank you!!!!!

Answers

Answer:

Robots or automatons

Explanation:

Machines that can perform tasks historically performed by humans can improve productivity (they can work non-stop) and of course the environment is safer for workers (work is done by a machine instead) but there is job loss (people who used to do the machine's work are redundant).

a network consisting of nodes covering a small geographic area is a

Answers

Answer:

that is a Local Area Network (LAN)

9. Which of the following is a disadvantage of cloud storage? * Accessibility (offline/without internet) Reduction of storage cost to organization, Increased possibility for disaster recovery, Efficient management of stored Data​

Answers

Answer:

Accessibility offline

Explanation:

define the term malicious program

Answers

Malware, or malicious software, is any program or file that is intentionally harmful to a computer, network or server.

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:

Which of the following is true regarding computer science careers? There are a limited number of jobs in this field. There are not different job types in this field. The number will increase over the next several years. You must be a programmer to work in this field.

Answers

Answer: There are several types of jobs in this field

Explanation: i did the test

The practice of applying technology to address difficult organizational issues is known as computer science. Thus, option D is correct.

What is the carrier in the computer science?

Computers and technology have been incorporated into almost every economic sector, industry, and even organization operating in the modern economy, which is why this field is so crucial.

Because it allows me to pursue my two interests in problem-solving and creating engaging experiences, computer science is my field of choice.

I can come up with problems that are unique to a user, create and brainstorm solutions, and then put those ideas into practice through coding.

Computer scientists build, develop, and improve supply chains, content algorithms, and even job application platforms. We are already living in the age of computer science.

As technology grows increasingly pervasive in our lives and the economy, computer science becomes more crucial.

Learn more about computer science here:

https://brainly.com/question/20837448

#SPJ2

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

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

In a computer-controlled greenhouse, a temperature sensor and a window motor are connected to the computer.
If the temperature rises above 23°, the windows are opened.
Draw a flowchart to describe this system.

Answers

Hope this helps solve it

Why was slavery more common in South Carolina than in North Carolina?
Check all of the boxes that apply.

Answers

Answer:

South Carolina, more south the more farms and agriculture so more farms mean's more workers needed.

Explanation:

Which of these problems is correct if the numbers are binary numbers?Group of answer choices1 + 1 = 21 + 1 = 100 + 0 = 11 + 0 = 10

Answers

Answer:

The last one is correct.  

Explanation:

Write a program which will -

• Enter the score the student got in the test.
• Enter the maximum number of marks for the test.
• Divide the score by the maximum to work out the percentage.
• Check to see if the percentage is greater than 52. If it is then say "well done you have at least a grade 5"
• If the percentage is less than 52 then display "Unlucky, you need to revise more for the next test."
Will give out brainliest :)

Answers

Answer:

down below

Explanation:

score = input() # gets student's score input

max = input() # gets max number

percent = (score/max)*100 # multiply by a hundred to get percentage

if percent > 52: # checks if percent is greater than 52

  print("well dont you have at least a grade 5")

else # if percent is less than or equal to 52 it will print this instead

  print("Unlucky, you need to revise more for the next test.")

THIS PART IS NOT CODE:

make sure you indent/tab the print statements or else you'll get an error

Who is your favorite Funtime Anamatronic?

Answers

Answer:

ur mom

Explanation:

jk it's prb something like foxy

Write a 20 charecter poem! for points! :)

Answers

you are wonderful as you are blue you are as blue as the sky the sky is beautiful as u are too you are red as Rose's and Rose's are full of you winter time is the mood full of winter and snow

Emily is deciding whether to buy the same designer jacket her friends have. The jacket is much more expensive than a similar one from a lesser-known brand. Which questions should she consider before she buys the jacket? Check all that apply. Is advertising influencing her? What are her motivations? Has she compared prices? Is she buying at the right time? Will her sister like the jacket too?

Answers

Is advertising influencing her?
What are her motivations?
Has she compared prices?
Is she buying at the right time?

The questions that she should consider before she buys the jacket are:

Is advertising influencing her?What are her motivations?Has she compared prices?Is she buying at the right time?

What  is buying?

The act of buying an item is known to be acquiring a specific possession, or ownership/ rights to the use that thing or services. This can only be done through payment that is mostly based on the use of money :

Note that before getting something, one must consider other things such as  prices and the reasons for buying the item before one can go ahead to purchase that thing.

Learn more about buying from

https://brainly.com/question/25745683

If your company uses a non-price competition strategy what should you focus on
A. lowering prices
B. differentiation
C. creating direct competitors
D. the public sector

Answers

B- differentiation

nonprice competition strategy refers to strategy to win a business competition that does not involved lowering price of the product.

Businesses mostly do this using differentiation strategy, which is increasing the different variety of product that they sell in the market.

Other Questions
Plz help due in 2 hours! No links and dont answer then delete it. I will give brainiest! ||50 POINTS|| Write a short description for each of the three steps in the voting process.A: Registering to voteB: Preparing to voteC: Casting your vote Use what you know about operations and their properties to write three expressions equivalent to the expression shown.10(2+3)83 wheel is a very important invention of man the table shows the height of the sage bush at each of 2 ages. what was the bushes average rate of growth per year during this time period. pls answer quick Select the correct answer.What was the role of William Pitt in the French and Indian War?A. He convinced the British Parliament to send more men and supplies to the colonies in North America.B. He led the British troops in the battle for the city of Quebec.C. He convinced the Iroquois Confederacy to ally with the British.D. He drafted the Treaty of Paris.E. He was the supreme commander of the Virginia militia and the strongest British ally. Revise the following statement to make it true:All living things inside of an area are part of the population. NSelect the correct answer.In which situation is no work considered to be done by a force?A.when the angle between the force and displacement is 180OB.when the angle between the force and displacement is 90.when the angle between the force and displacement is 45OD.when the angle between the force and displacement is 0 What is the solution to the inequality below?12+x2 3(x-6)A. XX5 9O B. Xs12O c. xs5O D. xs 15 Whats the answer Hydrogen gas reacts with oxygen gas to form water. What is the excess reactant in this recation(Refer to the picture below to answer).A. WaterB. Hydrogen gasC. Oxygen gasD. Water and oxygen gas This is an image of the ...........................Topology.if answer Correct i will mark the first person brainly. Symbolic interactionists focus on the role of __________ in affecting perception and creating prejudice. In NASA Langleys Modern Figures Reflect on Changing Times, Hidden Figures, Amer, Martinez, and Williams-Byrd have had to work hard to be taken seriously and respected as female engineers of color?Which two key details support this idea?pleaseeee help Why was the principle of consent of the governed which influenced Jeffersons writing of the Declaration of Independence considered groundbreaking? The formula for electrical power is. Which is the equivalent equation solved for i?. answer this question attached please explain how you can recognize the sound of a flute The extension of power of one nation over another, often by territorial acquisition, is called __________.A.imperialismB.supremacyC.ethnocentrismD.nationalismPlease select the best answer from the choices providedABCD I wrote this but idrk if its any goodWhen will you see me for who I am?When will you look past all the imperfections?Will you ever stop doubting me?Dont judge me by what you see.Dont judge me for being me.Look past what is on the outside.Know me for what is on the insidePlease stop doubting me.It hurts more than you could imagine.Just give me a chance. Which composition of similarity transformations maps polygon abcd to polygon a'b'c'd'? a dilation with a scale factor of and then a rotation a dilation with a scale factor of and then a translation a dilation with a scale factor of 4 and then a rotation a dilation with a scale factor of 4 and then a translation.