Answers

Answer 1

Part 1:

x = first variable

y = second variable

print the variables to the console.

Part 2:

// Replace this with your name, today's date, and a short description.

def main():

   x = 'My favorite book is python for dummies.'

   y = 'I get to learn a lot about python.'

   print(x)

   print(y)

if __name__ == "__main__":

   main()

Part 3:

The purpose of my program was to express separate string variables and print them separately to the console. Also, I was able to demonstrate how functions work.

My program could be useful for storing values in variables for later. Although quite small, my program expresses how easy functions are to use.

I had trouble setting up my functions properly. To fix this problem, I looked back in our notes.

Next time, I will review our notes before starting the assessment. I will also remember how to properly use functions.  


Related Questions

How would you describe the relationship between blocks of code and commands?
HELP​

Answers

Answer:

Code and Commands have similar programs coding has only one thing to do or done but commands can be told anytime by an input device.

Explanation:

hope this helps.

Suppose you have a word processing application on your smartphone, your tablet, and your laptop. You are at home, and you need to write a paper for a class. A would be easiest to use for writing your paper.

Answers

Answer:

laptop

Explanation:

have a good day

Cloud storage refers to the storage of data on ______.

Answers

Answer:

server

Explanation:

The storage of the data on the server of the web app is known as cloud storage.

The information regarding cloud storage is as follows:

It is the model of cloud computing in which the data is stored on the internet via the cloud computing provider that managed and operates the data storage.Also, it removes the purchasing & managing of the data storage infrastructure.

Therefore we can conclude that the storage of the data on the server of the web app is known as cloud storage.

Learn more about the data here: brainly.com/question/10980404

what do we call the two parts of lift that goes down a mine

Answers

The sheave wheel is a pulley wheel that sits above the mine shaft. The hoist cable passes over the sheave wheel and then down the shaft of the mine.
(copied from google)

What kind of money is a gold certificate considered to be?

commodity
fiat
representative
currency

Answers

The kind of money a gold certificate is considered to be is: C. representative.

What is a gold certificate?

A gold certificate can be defined as a certificate of ownership that is issued by a public treasury and held by the owner of a gold instead of holding the real gold itself.

In the United States of America, a gold certificate is typically issued exclusively to the Federal Reserve System (Fed) by the US Treasury.

In conclusion, the kind of money that a gold certificate is considered to be is representative.

Read more on money here: https://brainly.com/question/25959268

#SPJ5

The kind of money a gold certificate is considered to be is representative. Thus, option C is correct.

What is a gold certificate?

A gold certificate can be defined as a certificate of ownership that is issued by a public treasury and held by the owner of a gold instead of holding the real gold itself. In the United States of America, a gold certificate is typically issued exclusively to the Federal Reserve System (Fed) by the US Treasury.

Money is a good that is widely recognized as a means of economic exchange. It serves as the means for expressing values and prices. It is the primary indicator of wealth because it moves from person to person and nation to country, facilitating trade.

Therefore, the kind of money that a gold certificate is considered to be is representative.

To learn more on money, click here:

brainly.com/question/28784237

#SPJ5

Evan is borrowing a friend's laptop to check out some groovy music files. What can Evan look for to quickly identify
music files?
a messaging app
the hardware
the file extensions
the systems software

Answers

Answer:

The answer to this question is given below in the explanation section.

Explanation:

The correct option for this question is the file extension. Because, by knowing the file extension, you can easily understand and know what the file is. If Evan checking out some groovy music files then he will definitely look at the file format to know that is it the music file or not.

Other options are not correct because:

messaging app function is to send the message, receive and store the message while hardware does not have any relation to identifying the music file and system software is an example of an operating system that also does not help the Evan for looking at music file on the laptop.

Answer:

It is C bruddahs

Explanation:

what aspect should you consider before adding pictures to documents

Answers

Answer:

make sure you have the correct picture

Explanation:

it might vary to what document your working on

I WILL GIVE BRAINLIEST TO WHO ANSWERS FIRST AND CORRECTLY.
select all that apply
Select the strategies below that are likely to increase audience attention.

Match special effects to content.
Use lots of different animation styles on each slide.
Use consistent transitions.
Use similar animation styles on each slide.
Avoid the use of animations.
Vary the use of transitions for each slide.

Answers

Answer:

All except the last one I hope

Explanation:

Would X-ray waves carry a lot of energy? And do they have a high frequency?

Answers

Answer:

X-rays are very high frequency waves, and carry a lot of energy. They will pass through most substances, and this makes them useful in medicine and industry to see inside things.

Which statement describes what happens when a user configures No Automatic Filtering in Junk Mail Options?

No messages will ever be blocked from the user’s mailbox.
Messages can still be blocked at the server level.
Messages cannot be blocked at the network firewall.
Most obvious spam messages will still reach the client computer.

Answers

Answer:

The last one

Explanation I think it is D because all of the other answers are saying what happen if you filter it.

The majority of obvious spam messages will continue to reach the client's computer. The correct answer is D.

What is junk mail?

Email spam, also known as junk email, spam mail, or plainly spam, is an unrequested email sent in mass. The name is derived from a Monty Programming languages sketch that includes the name of a canned pork product is mentioned. Spam is pervasive, unavoidable, and monotonous.

Back out of the Folder or any message folders users are viewing to access the Mailboxes view. The Junk folder is located beneath the Drafts and Sent directories in the Mailboxes view.

The Junk Email Filter settings can be changed in the Junk E-mail Dialogue box. Click Junk in the Deactivate group on the Home tab, and then click Garbage E-mail Options.

Most obvious spam messages will still reach the client's computer. Then the correct option is D.

More about the junk mail link is given below.

https://brainly.com/question/28354330

#SPJ6

Kerry is debugging a program. She identifies a line of code to begin execution and a line of code to end execution so that she is only running part of the computer program. Which is she using?
a.variable inspections
b.breakpoints
c.stepping functions
d.line-by-line search

Answers

Answer:

I think it's B on Edge, breakpoints

Explanation:

Answer:

B

Explanation:

Which media choices give you the most benefits? What are those benefits?

Answers

Answer:

Electronic media

Explanation:

1 make you popular

X = 0
end = int(input("Pick a number: "))
for num in range(1, end, 2):
#missing line
print(x)
X 10.
This program should print the sum of all the ODD numbers between 1 and the user's number pick the "end" variable)
Write the missing line that will make that possible.
I think its print(1 + end) but If its wrong can I please have feedback cause I'm struggling with this 1.

Answers

The missing line would be x+= num

This means that every time a number is selected from the range it is added to the value of x.

Which characters in the function shown represent the arguments?
=MAX(B2:B6,C4,100)

A) =
B) MAX
C) (B2:B6,C4,100)
D) ( ,

Answers

Answer:

c

Explanation:

Answer:

C

Explanation:

Samuel plans to use images of babies for a calendar. Which options should he choose?
A.
seek permission from the parents of the baby but do not mention the commercial use
B.
seek permission from no one, as it is the imageer’s duty to capture images
C.
seek permission from parents before using the baby’s image for commercial gains
D.
seek permission from the parents of the babies without telling them about where it will be used

Answers

Answer:

The answer to this question is given below in the explanation section.

Explanation:

The correct option for this question is (C) -seek permission from parents before using the baby’s image for commercial gains

Because Samuel using images of babies for a calendar and use it for commercial purpose. So, she needs to seek permission from parents before using the baby's image for commercial gains. It is also required for her to tell babies' parents about the use of pictures commercially.  

Other options are not correct because legally and ethically she is bound to take permission from babies' parents before using it commercially.

full detail about computer and its history


Answers

Answer:

The computer as we know it today had its beginning with a 19th century English mathematics professor name Charles Babbage. He designed the Analytical Engine and it was this design that the basic framework of the computers of today are based on. ... It was called the Atanasoff-Berry Computer (ABC).

Explanation:

what is amoeba cell do? max amount of points so pls answer​

Answers

Answer:

Ameoba is an organism which is unicellular and is a free-living cell. it is also a eukaryotic organism ( it has well-defined, membrane-bound cell organelles).

An amoeba cell has to carry out all the functions needed for its survival such as injection of food, digestion of food, excretion of waste, etc

An Amoeba cell is a unicellular organism. It is eukaryotic and has well-defined, membrane-bound cell organelles. Amoebas function as their own living body, so they create energy, move around, and throw out waste on their own.

You want to create a computer that processes data very fast. What do you need to achieve this goal?

a bigger cooling unit
large CPU caches
more ALUs
a bigger hard drive

Answers

Answer:

large cpu cache

Explanation:

trust me

4. How could you apply some of the ideas, principles, or structures of coding to fields of study, industries, or tasks outside of creating computer programs? Propose at least one way to use "coding" or creating programs outside of computer science and explain how it uses coding-related concepts.

Answers

Answer:

a production plant

Explanation:

"Coding" brings with it a linear way of thinking and problem solving, where one step needs to be taken before moving on to the next step. This can be applied to a wide range of real-life scenarios and industries. For example, a production plant starts with an initial input, that input is taken and used in a set of instructions (method), those instructions take that input and create a new output. Once the new output is created it is then passed on to another set of instructions that takes that output as an input to create a new output. Just like a computer program, a power plant repeats this process in order to a fully working and realized product.

yall please help me in online school i only have 1 week to do it

its online by the way which is why it says computers and technology

Answers

Answer:

we cant see anything

Explanation:

Answer:

add meh back

Explanation:

pls

What is the definition of a noob? Please help. Define it in your own words but in an appropriate way, thank you very much!

Answers

Answer:

A person that is different from others by the way they look, act, ect.

Easy 10 point but can u plz help me

Answers

Answer:ITS TRUe

Explanation:there ya go :^

How do you change the behavior of the VR Robot?

Answers

Answer:

You can not do it

Explanation:

Answer:

To be able you have to change some of the robots codes, within the game.

Explanation:

Which of the following statements are true regarding cognitive impairments? Select 3 options.
Speech input devices help those who are cognitively impaired understand the contents of the screen.
Delivering content in different ways, such as using video, animations, and text, helps promote cognitive accessibility.
To improve cognitive accessibility, the developer should focus on a clear and consistent design.
Even though there are different causes for cognitive impairment, many of the resulting functional issues are similar.
Cognitive issues are learning disabilities caused by genetic disorders.

Answers

Answer:

The correct options are;

Delivering content in different ways, such as using video, animations, and text, helps promote cognitive accessibility

To improve cognitive accessibility, the developer should focus on a clear and consistent design

Even though there are different causes for cognitive impairment, many of the resulting functional issues are similar

Explanation:

Cognitive impairment is the condition of a person having difficulty in concentrating, learning, recalling from memory, or making functional decisions. Depending on the severity, cognitive impairment may be classified as severe or mild

Symptoms includes, loss of memory, asking the same questions or telling the same story frequently, unable to recognize people they already know, or places they have already been to, having problems with vision and being unable to plan or see tasks through

Answer:

The correct options are;

Delivering content in different ways, such as using video, animations, and text, helps promote cognitive accessibility

To improve cognitive accessibility, the developer should focus on a clear and consistent design

Even though there are different causes for cognitive impairment, many of the resulting functional issues are similar

Explanation:

A programmer created a piece of software and wants to publish it using a Creative Commons license. Which of the following is a direct benefit of publishing the software with this type of license?

A

The programmer can ensure that the algorithms used in the software are free from bias.
B

The programmer can ensure that the source code for the software is backed up for archival purposes.

C

The programmer can include code that was written by other people in the software without needing to obtain permission.
D

The programmer can specify the ways that other people are legally allowed to use and distribute the software.

Answers

Answer:

The answer to this question is given below in the explanation section. However,  the correct answer is D.

Explanation:

This question is about publishing software under a creative commons license. The direct benefit of publishing the software under commons creative license is that the programmer can specify the ways that other people are legally allowed to use and distribute the software.

Because under this type of license, the publisher can publish their work under copyright law.  So they can control and specify the ways that how other people can use and distribute it legally.

While other options are not correct, because of its programmer responsibility that source code is free from error and bias, take backup for archival purposes. People can't include anything without obtaining permission etc.

The direct benefit of publishing the software with this type of license is option D.

The following information should be considered:

It is the programmer that represent the ways where the other people are permitted for using and allocating the software. Also under this license, the publisher could publish the work as per the copyright law.The source code should be free from error & bias, backup for archival purpose, without giving the permission represent the responsibility of the programmer.

Therefore we can conclude that the correct option is D.

Learn more: brainly.com/question/22701930

what is a technology that exists inside another device called

Answers

Answer: embedded technology

Explanation: just took the test

Answer:

A

Explanation:

Embedded technology

discuss two basic types of monitors CRT and LCD give me in short ​

Answers

Difference Between CRT Monitor and LCD Monitor is that CRT monitor is a desktop monitor that contains a cathode-ray tube. ... While An LCD monitor is a desktop monitorthat uses a liquid crystal display to produce images. These monitorsproduce sharp, flicker-free images

what's my favorite color

black

red

purple

yellow

orange

Answers

Answer:

.

Explanation:

A database record can best be described as:
А
a collection of data about a limited topic, organized into rows and columns.
B
a collection of data that can be sorted and searched using search algorithms.
С
a category of information in a table.
D
a collection of information consisting of one or more related fields about a specific entity.

Answers

Answer:

The answer to this question is given below in the explanation section

Explanation:

The correct option to this question is D.

A database record can be best described as the collection of information consisting of one or more related fields about a specific entity. Because a database record represents a record about a specific entity for example a student record studying in a school. A student is a specific entity in the database and it has one or more related fields, for example, name, class, courses in which enrolled etc.

others options are not correct because:

A: a database record is a collection of data about a specific entity and it is not about a limited topic.

B: all database records can be sorted and searched using search algorithms but it is not necessarily because you can search data sometimes using quarries etc.

C: a database record is not a category of information in a table but it is a collection of one or more related field about a specific entity.

Answer:

c

Explanation:

What is the value of numC when this program is executed?
numA = 4
numB = 10
if numA == 2:
numC = 10
elif numA > numB:
numC = 20
else:
numC = 30

Answers

numA = 4 and numB = 10

for the if statement to run, numA has to equal 2, which it doesn't.

for the elif statement to run, numA has to be greater than numB, which it isn't.

That leaves the else statement, therefore, numC = 30

Answer:

30

Explanation:

Other Questions
A researcher is exploring the notion that there is an economy of scale in raising children. While having one child might add to a family's financial stress, the second or third one might not be as "expensive" since they would already be sharing one roof, could share clothing, etc. The researcher has access to a large community of parents where 15% have one child under 18 in their home, 65% of parents have two children, and 20% of parents have three or more children. Rounded to the nearest whole number, the probability that any given family who is selected has two or more children at home is ________ %? Explain which rhetorical appealpathos, ethos, or logosused in On Women's Right to Vote is the most effective. A fast-food restaurant has a cost of production C(x)=12x+114 and a revenue function R(x)=6x. When does the company start to turn a profit? Two consecutive odd Integers have a sum of 72. What are the two oddIntegers What is the value of sin 53 to the nearest ten-thousandth?0.9325O 1.4663O 0.5314O 0.7986 A diffusion couple, made by welding a thin onecentimeter square slab of pure metal A to a similar slab of pure metal B, was given a diffusion anneal at an elevated temperature and then cooled to room temperature. On chemically analyzing successive layers of the specimen, cut parallel to the weld interface, it was observed that, at one position, over a distance of 5000 nm, the atom fraction of metal A, NA, changed from 0.30 to 0.35. Assume that the number of atoms per m3 of both pure metals is 9 x 10^28. First determine the concentration gradient dnA/dx. Then if the diffusion coefficient, at the point in question and annealing temperature, was 2 10^-14 m^2/s. Required:Determine the number of A atoms per second that would pass through this cross-section at the annealing temperature. Susan's grandpa was fibbing again: "your grandma and I, together, we are over 150years old!" If her grandpa is 71, and her grandma is 68, what's the real sum of their ages? What is 715 divided by 25 and what is 514 divided by 28?Plsss help I really need it for my HW why does the moon shine Can someone Answer this please! Write the rational number as a decimal -4 2/3 A Story that illustrates theSaying a good name is better thangold and silver". What country is to the west of Deutschland?FrankreichKoreaAustralienJapan What metalloid has commonly been used as an insecticide dueto its effectiveness as a poison. Which of the following is a reason for the genetic variability from sexual reproduction? A. The more variety there is in the gene pool, the less arrangements in the population.B.The genes that are dealt to the offspring from their parents are by systematic event.C. Offspring have the same gene combinations of either of their parents.D. Members of a species choose mates, creating different combinations of genes.Please help. This is due today. Simplify 3over-9/3over-12 In equation form how would you write up 4 to the right 1 what is stimuli in biology in terms of igcse ???? PLZZZ HELP< MY LAST ATTEMPT! A gardener has 27 pansies and 36 daisies. He plants an equal number of each type of flower in each row. What is the greatest possible number of pansies in each row?Please help!