Basic python coding, What is the output of this program? Assume the user enters 2, 5, and 10.
numA = 0
for count in range(3):
answer = input ("Enter a number: ")
fltAnswer = float(answer)
numA = numA + fltAnswer
print (numA)
Thanks in advance!
:L

Basic Python Coding, What Is The Output Of This Program? Assume The User Enters 2, 5, And 10. NumA =

Answers

Answer 1

Answer:

17.0

Explanation:

after first loop numA = 0.0 + 2 = 2.0

after second loop numA = 2.0 + 5 = 7.0

after third loop numA = 7 + 10 = 17.0


Related Questions

Plz help me I need this done by 7:50

Answers

Answer:

proportionality bias

Explanation:

The proportionality bias is the tendency to assume that big events have big causes. It is a type of cognitive bias and plays an important role in people's tendency to accept conspiracy theories

I hope this helps! ^^

☁️☁️☁️☁️☁️☁️☁️

What is the output of this program? Assume the user enters 2, 5, and 10.
numA = 0
for count in range(3):
answer = input ("Enter a number: ")
fltAnswer = float(answer)
numA = numA + fltAnswer
print (numA)
Output:

Answers

Answer: 17.0

Explanation: I did ran it on PyCharm and that was the outcome.

PLEASE MARK BRAINLIEST AND RATE MY ANSWER :)

The use of a concept or product from one technology to solve a problem in an unrelated one

Answers

Answer:

Technology transfer.

Explanation:

Technology can be defined as a branch of knowledge which typically involves the process of applying, creating and managing practical or scientific knowledge to solve problems and improve human life. Technologies are applied to many fields in the world such as medicine, information technology, cybersecurity, engineering, environmental etc.

Generally, technology has impacted the world significantly and positively as it has helped to automate processes, increased efficiency and level of output with little or no human effort.

Technology transfer can be defined as the use of a concept or product from one technology to solve a problem in an unrelated one.

(IGNORE THIS)


Then before I could think, I saw nothing,but darkness, even though my eyes were open. After that, I saw a room that looked fairly familiar. For a quick second ,I had deja vu, then I was aware that it was my classroom. I saw myself smiling out of excitement, and holding a piece of paper. I was very confused, and I thought maybe it was just all in my head, or maybe it was just some weird deja vu that I have never experienced. I returned back to class very puzzled.
As we all began the test, I completely forgot about what happened. I was too focused on the test. 40 minutes passed, and everyone had already completed their assignment. My palms began sweating out of nervousness. Everyone in the room was waiting for me to finish. I had an immense feeling that everyone was staring at me,but I did not bother to look away from my test paper. Subsequently after 20 minutes,I concluded the test. I walked up to the teacher, and handed over my test answers to her. I never really felt this nervous over a test before. I was always usually confident in my answers. I had a sick feeling in my stomach. It was all making me start to believe that I wasn’t going to succeed on this test. After school,the teacher planned to give us our test results. I was afraid, and not ready. As she handed me over my results,she had a big smile on her face. Before I could say, or think anything other than me failing,she congratulated me, and patted me on the back,”Jax, you obtained all the answers right!’ My eyes got big in total shock. I gently grabbed my test results from her hand, and smiled. I was so joyful. I quickly ran out of the classroom door and waved goodbye to my teacher. “What a relief!’,I thought.

After that,I ran home, still as happy, and excited. When I got home, I tripped on the doormat that my mother owns outside of the house. I unfortunately fell on my face. It hurt so badly. At the moment I tried getting up,the weird feeling came back again. It was as if everything blacked out. All I saw was pure black for a couple seconds, as I did last time. I distinguished, and made out a strange picture of my mother having a paper towel on her hand, and lathering it on my face. Once I fully realized what the ‘picture’ I saw was, my heart started throbbing, repeatedly. The picture gradually faded away out of my eye sight. After it all went away,everything was back to normal. As I was done rubbing my eyes from confusion, I noticed that my Mother was standing right in front of me. She grabbed me by my hand and helped me get back up. She asked,”What just happened,Jax?” “I don-, I don’t know,Mom.”,I stuttered. She told me to follow her. She then led me to the kitchen table, and told me to sit down. I slowly sat down, holding on to the kitchen table. She swiftly ran towards the paper towels, and tried ripping a couple out as fast as she could, and ran back to me. She gently lathered, and patted the paper towel onto my forehead. I was confused and had no clue on why she was doing that. I asked her,”What’s on my forehead,Mom?” “You’re bleeding,I think you somehow fell, and landed on your face.” Right after she spoke,I remembered everything again. I wasn’t planning on telling her about what I saw after I tripped, sense I knew she would not believe me. “Oh yes! I tripped on your doormat outside the door.”,I responded. She apologized, and I quickly forgave her with no hesitation. She let me head off to my room afterwards.

Answers

Answer:

lol. this took so long to read what was the purpose of this, lol

Explanation:

e-What is the important of Recycle bin?
Ans:​

Answers

the recycle bin is used in Windows computers to store deleted items such as files and folders. They are temporarily stored before they are permanently deleted.

Using these Web sites for guidance, write a definition in your own words for five of the terms listed below.

gigabyte
intranet
pixel
telecommunication
modem
raster graphic
vector graphic
digital
GUI
Question # 1
Long Text (essay)
Write your definitions for the five terms of your choice.

Answers

Answer:

Gigabyte: Unit of measurement, is 10^9 bytes.

Intranet: Network that is used for sharing info, and other services.

Pixel: Creates a image, it is the smallest element on a display on a device.

Modem: Converts signals produced by a computer or another type of device.

Digital: Problem solving by any capable class device.

Explanation:

Short and simple.

What kind of email formatting change can you make using the Rules Wizard?
O background color
O paragraph spacing
margin size and settings
O font color, size, and type
HELP ME PLS

Answers

Answer:

D. font color, size, and type

Explanation:

Answer:

D. font color, size, and type

Explanation:

hope this helps :)

A set of programs that enable the hardware to process data is _____.

a. network

b. procedures

c. software

d. hardware E. database

Answers

I think C but I'm not sure

Which layer in the Internet Protocol Suite model verifies that data arrives without being lost or damaged?
A. Link
B. Internet
C. Application
D. Transport

Answers

it is D I believe

Explanation:

What are the steps to creating a blank database? Use the drop-down menus to complete them.
1. Click the
tab, and click
2. Under the
category, click Blank Database.
3. Specify a name and location for the database.
4. Click

Answers

Answer:

What are the steps to creating a blank database? Use the drop-down menus to complete them.

click the file tab, and click new

Under the available Templates category, click Blank Database.

Specify a name and location for the database.

Click create.

Explanation:

Just did it on Edge :)

The steps to create a blank database in a database software includes:

Click the file tab, and click newUnder the available Templates category, click Blank Database.Specify a name and location for the database.Click create.

What is a blank database?

This is a creation of new interface that allows to stores your data in rows (records) and columns (fields).

Therefore, the database created a tables, reports, forms and queries for data storage and retrieval.

Read more about blank database

brainly.com/question/26746370

#SPJ2

B) Identify any five potential applications services an organization may run under this client/server mode

Answers

Answer:

Five potential applications services that an organization may run under a client/server mode are;

1) Printing applications

2) Email applications

3) Storage application

4) Database applications

5) Proxy application

Explanation:

The client-server model is a structural mode of application operation that splits whole tasks or the amount of work to be completed between the servers that provides the service applicable to the work, and the client that makes the request

Examples of applications services that an organization may run under a client/server mode are;

1) Printing applications

By the printing application service, a single printing resource can be shared by several clients to minimize cost and maximize space

An example of a print server is Microsoft Universal Print

2) Email applications

Email applications help manage incoming and outgoing mails for clients such that the emails are always received even when the clients computers are out of reach

An example of an email server is Microsoft Exchange Server

3) Storage application

Storage applications help keep client documents safe for future use

An example of a storage server is OneDrive for Windows, Mac, or Android

4) Database applications

Database applications allow the database to be continuously accessed and updated by different users, such as Microsoft Access

5) Shared application

An application server provides provides access to application which are stored in a central server to several users without installing the application on each user's computer, such as Microsoft Office applications

write a loop that finds the sum of the numbers between 7 and 34

Answers

THIS IS FOR PYTHON

total = 0

for i in range(7, 35):

   total += i

   print(i)

print(total)

I forgot the reason but python always stops one number before your desired value. So that's why it's 35

The loop that finds the sum of the numbers between 7 and 34 i2 as follows:

x = 0

for i in range(7, 35):

   x += i

print(x)

   

The code is written in python.

The variable x is initialise with the value zero.

For loop is used to loop through the range of value 7 to 35, excluding 35.

The looped values are then added to the variable x

The final sum is then printed out using the print statements in python.

learn more on loop: https://brainly.com/question/21897044?referrer=searchResults

I really need this answer please

Which of the following describes passing by reference?
passing a memory address
passing a defined value
passing a data type copy
passing a variable name

Please help me

Answers

Answer:

Passing by memory address

Explanation:

When you pass a memory reference like &a the data stored at this location can be directly accessed by the function through a dereference like *a = 2;

hannes complains that his computer is always giving error messages, the file names and folder names are garbled, and there is an odd noise coming from his computer tower. which hardware device do you suspect is causing the problem?​

Answers

Answer:

It could be the hard disk drive (HDD)

What are the importance of Help and Support feature of Windows​

Answers

Answer:

Explanation:

Start Menu Returns. It's what Windows 8 detractors have been clamoring for, and Microsoft has finally brought back the Start Menu. ...

Cortana on Desktop. Being lazy just got a lot easier. ...

Xbox App. ...

Project Spartan Browser. ...

Improved Multitasking. ...

Universal Apps. ...

Office Apps Get Touch Support. ...

Continuum.

5. The command to add new layout to the slide is present in
tab.​

Answers

Answer:

In the navigation pane, click the slide master. The slide master is the top slide in the navigation pane. Click the Slide Master tab, and then under Slide Master, click New Layout. PowerPoint inserts a new slide layout with placeholders for a title and footers.

Question 5 of 24
You want to reach people who are searching for content about the Manchester
United Football Club, Which audience solution should you use?
Affinity
Custom Affinity
O Customer Match
ООО
Detailed Demographics
NEXT

Answers

Answer:

Affinity

Explanation:

Which of the following image file formats use lossless file compression? Choose all that apply.
BMP

GIF

JPEG

PNG

RAW

TIFF

Answers

Answer:

GIF

PNG

TIFF

Explanation:

I did this already. :)

BMP, PNG, RAW, and TIFF formats use lossless file compression. Therefore, options A, D, E, and F are correct.

What is lossless file compression?

Lossless file compression is a data compression technique that reduces the size of a file without losing any of its original data. In other words, when a file is compressed using a lossless compression algorithm, it can be decompressed to its exact original form without any loss of information.

This is in contrast to lossy compression, which involves removing some data from the file in order to achieve a smaller size. Lossless compression works by identifying patterns and redundancies within the data and replacing them with more efficient representations.

Thus, BMP, PNG, RAW, and TIFF formats use lossless file compression. Therefore, options A, D, E, and F are correct.

Learn more about lossless file compression, here:

https://brainly.com/question/30225170

#SPJ2

How would you describe the difference between Python and HTML? Does it make sense to have two different coding systems, or would it be better if you could create webpages with Python?

Answers

Python is used to give instructions and logic to a website while HTML is used to describe how a website would be structured and displayed in a web browser.

What is Python?

Python is a high-level programming language that is designed and developed to build websites and software applications, especially through the use of dynamic semantics and data structures.

What is HTML?

HTML is an acronym for hypertext markup language and it is a standard programming language that is typically used for designing, developing and creating websites.

A difference between Python and HTML is that Python is a programming language which is used to give instructions and logic to a website while HTML is a markup language that is used to describe how a website would be structured and displayed in a web browser.

In conclusion, it is much more better to have two different coding systems because each of them perform a unique task in computer programming.

Read more on HTML here: https://brainly.com/question/4056554

Multinational corporations use __ to share their resources with all their employees because it __

first blank
A. books
B. online database
C. text messages

second
A. Reduces costs
B. increases employees work
C. Increases time

Answers

First B
Second A
Seems like the best answers

We call a mock-up version of a process a

Answers

Answer:

We call a mock-up version of a process a model or replica of a machine or structure.

Which type of storage disk and disk drive can you use in the given situation?



Amy wants to borrow a movie from Bruce so that she can watch it in her leisure time. Amy can hand over a _____


copy the 900 MB file. Bruce needs to have a ______


drive to rerecord data on the used DVD.


1. options


CD


hard disk


DVD


2. options


DVD-RR


DVD-recordable


DVD-RW

Answers

Answer:

The answer to this question is DVD and DVD-RW

Explanation:

The types of storage disk drives that can use in the given situation are;

Amy can hand over a DVD to Bruce to copy a 900 MB file. Bruce needs to have a "DVD-RW drive" to record data on the used DVD.

What do you mean by Storage disk?

Storage disk may be defined as a type of hardware device that can be used to store and save digital data and applications which may be in the form of images, video, audio, etc. For example, CDs, DVDs, hard disks, pen drives, etc.

Since Hard disks generally store a large quantity of data like 120GB to 30.72 TB. But the data required to be stored is only 900 Mb,

Therefore DVD is the most accurate choice for this storage. Which stores 500Mb of data to 8.5 Gb.

Hence Amy can hand over a DVD to Bruce to copy a 900 MB file. Bruce needs to have a "DVD-RW drive" to record data on the used DVD.

To learn more about Storage Disk, refer to the link:

brainly.com/question/14762201

#SPJ2

Please help with task!!! Computer Science

Answers

Answer:

for (int i = 0; i < a[].length; i++) {

for (int j = 0; j < a[][].length; j++) {

if (a[i][j] > 7)

return a[i][j];

}

}

Explanation:

A nested for-loop can iterate through every row and column and then perform the comparison, returning it if the condition is met.

Which basic design principle is primarily made up of lines?​

Answers

Answer:

Shape

Explanation:

The next elected president should be someone who can be very nice, kind, stick-up for him/herself, and take care of the people who need it most. That person would be

Answers

Answer:trump

Explanation:

Answer:

Kamala Harris.

Explanation:

I hate to sound negative, but our current president Joe Biden is getting older. So if anything happens to him, the vice president is next in line for his remaining time in office. I think Harris is a great fit! She is extremely open-minded, an LGBTQ+ ally, a women's rights activist, and she is not racist, religiously-prejudiced, or against disabled people like our former president openly was. As a Buddhist, pansexual, Chicana female, I strongly believe in her and her actions.

uses of Hexadecimal numbers.​

Answers

Explanation:

Hex codes are used in many areas of computing to simplify binary codes. It is important to note that computers do not use hexadecimal - it is used by humans to shorten binary to a more easily understandable form. Hexadecimal is translated into binary for computer use.

What is the importance of farm record keeping?​

Answers

Answer

Farm record keeping is one of the important aspects of farming that can make or mar a farm enterprise.

Explanation:

Farm record keeping is one of the important aspects of farming that can make or mar a farm enterprise. Farm record is a document meant to keep details of every event within the farm; procurement details, cost and revenue, sales records, and other events that need to be captured in simple farm records for the sake of making productive decisions.

I made Pico with a Ray Gun (Next is Dad/Tankman)

Opinons?

Answers

Answer:

It's cool!

Explanation:

Everything coalesces together perfectly! Despite the fact the boy and his ray gun are vastly different in style, I think it's cool overall! :)

Advantage of keyboard

Answers

You could do the alphabet.

This assignment is based on Exercise 8.4 from your textbook. Each of the following Python functions is supposed to check whether its argument has any lowercase letters.


For each function, describe what it actually does when called with a string argument. If it does not correctly check for lowercase letters, give an example argument that produces incorrect results, and describe why the result is incorrect.

# 1

def any_lowercase1(s):
for c in s:
if c.islower():
return True
else:
return False


# 2

def any_lowercase2(s):
for c in s:
if 'c'.islower():
return 'True'
else:
return 'False'


# 3

def any_lowercase3(s):
for c in s:
flag = c.islower()
return flag


# 4

def any_lowercase4(s):
flag = False
for c in s:
flag = flag or c.islower()
return flag


# 5

def any_lowercase5(s):
for c in s:
if not c.islower():
return False
return True

Answers

Explanation:

#1 is wrong because if the first character is not lowercase, it stops and returns false, ignoring all the other characters. It can be fixed by removing the else: statement and moving the return False statement outside of the loop.

This is efficient; if one lowercase character is encountered, the function 'knows enough' and can return true. Only if no lowercase is encountered it has to loop all the way to the end.

You can try this out on repl.it.

Many of the others functions have problems in them. #4 looks OK.

Other Questions
Find the vertex of the parabola y = 2x2 + 10x + 8 General Motors (GM) is trying to reinvent the Cadillac brand with new car designs and a new brand story. They commission McCann Erickson to develop an integrated marketing communications (IMC) campaign using several media. A key component of their ads is music by contemporary groups like the Teddy Bears and Melikka. In this scenario, GM is considered the a linear function passes through the points (10,5) and (-15, -5). a second function is represented by the equation 4x-3y= 6 what is the y-intercept of the function with the greater rate of change HELP DUE IN 5 Write an application to the headmaster of your school requestibg him to grant you 15 days leave to attend your cousin marriage at islamabad Pls helpFind the measurements of those Whats the area of this parallelogram IUAIUBSHELP PLEASEEA machine in a shoe factory produces shoelaces. The number of shoelaces it produces is proportional to the time. It can produce twelve shoelaces in three minutes. Write an equation to represent this proportional relationship. In your answer, make sure to define the variables you used. Cuntas veces al da escribes preguntas en brainly? Why did schools for African Americans close in the South? what are the methods of avoiding demagnetization Which ones are true? A beverage manufacturer performs a taste-test and discovers that people like their fizzy beverages best when the radius of the bubbles is about 0.3 mm. According to the formula below, what would be the volume of one of these bubbles? r = root(3, (3V)/(4s)) Keisha is saving money to buy a game. So far she has saved $24, which is three-fourths of the total cost of the game. How much does the game cost? HELPPPPP Nepalis a multicultural country .justify the statement What is the equation of a line that goes THROUGH (-2, 3) and is PERPENDICULAR to the liney = -3x+2 28. Which of the following organ breaks down toxic substances in the body and is stressed when aperson drinks more than one alcoholic drink per hour?a. Heartb. Pancreasc. stomachd. liver Reread lines 116-119. What does Bergmann mean when he says that Sonny is "with his herd again"? what role did the cheka play in the communist regime in russia Which type of wavelength has the shortest wavelength ? How long did the 369th serve in combat