When should the while loop be used in Python?
A. When a condition is not necessary for the action to repeat
B. When the range of repetitions includes positive and negative numbers
C. When an action will be repeated for a specific number of repetitions
D. When the exact number of repetitions is unknown

Answers

Answer 1

The while loop is used in Python is When a condition is not necessary for the action to repeat. The correct option is A.

What is a loop in python?

While the test expression (condition) is true, a block of code is iterated over in a while loop in Python. When we are unsure of how many times to iterate, we typically utilize this loop.

When a condition is not satisfied, a "While" loop is used to repeat a certain piece of code an undetermined number of times.

Therefore, the correct option is A. When a condition is not necessary for the action to repeat.

To learn more about loop in python, refer to the link:

https://brainly.com/question/17161155

#SPJ1

Answer 2

Answer: C. When an action will be repeated for a specific number of repetitions

Explanation: In order for a while loop to work, it needs to know how long it is supposed to be repeated.

Example: x = 0

   while x (x<10):

   x = x + 1

So when x is greater than 10, the loop will run, but when x is less than 10 it will not.

While loop definition: tells Python to repeat the action while a certain condition is true

Hope this helps :)

--k7ro


Related Questions

Why do reviewers consider the context of a work?

A. To analyze whether or not the public will like the work

B. To pick chart all the content presented in the work

C. To research its original purpose and historical background


D. To take notice of one's physical reaction to a media piece

Answers

Answer:

I think the answer is C.

Explanation:

Mood is established by not just images but also sounds, music, and even movements.

A.
True

B.
False

Answers

Answer:

true

Explanation:

Choose the term that best completes each sentence.

Using a _______ to write code is often a better option for a visually impaired programmer, since it tends to be more accessible than one with a ________ .

answer choices:
command line interface
graphical interface

Answers

Using a graphical interface to write code is often a better option for a visually impaired programmer, since it tends to be more accessible than one with a command line interface.

What is graphical user interface?

The Graphical User Interface is known to be a very common user Interface that is made up of Graphical representation such as buttons and icons.

In this interface, communication can be carried out through the use of interacting with the icons instead of the usual text-based or command-based communication. A good example of it is the Microsoft operating systems.

Learn more about graphical interface from

https://brainly.com/question/22811693

what is the term used to describe image file that contains multiple small graphics?

Answers

The answer sir should be Sprite

italic, bold, bold italic, and underline are examples of _____.

Answers

Answer:

Examples of typographical emphasis.

which of the following are good ways for virtual team members to get to know one another? (choose every correct answer.)

Answers

what are the choicess

what function do you need to call to ask the user of the program to enter text?

Answers

Answer:

raw_input() function

The function that one need to call to ask the user of the program to enter text is the readLine function. The correct option is a.

What are the functions of programming?

Code units that are "self contained" and carry out a particular purpose are called functions. Typically, functions "take in," "process," and "return" data and results. Once a function has been written, it can be utilized countless times.

It is possible to "call" functions from within other functions. These coding building pieces are known as functions in programming. There are input and output in every programming function.

The function has instructions that are used to translate its input into output. It is comparable to a cow that consumes grass (the input), converts it into milk, and then is milked by a dairy farmer (the output).

Therefore, the correct option is a. readLine.

To learn more about functions, refer to the link:

https://brainly.com/question/29760009

#SPJ5

The question is incomplete. Your most probably complete question is given below:

readLine

readln

text

println

drawing tablet cursor goes to top left corner of screen when pen is away

Answers

Answer:

This is just my opinion I think the answer might be A

Which formula calculates the total value of a single row of cells across a range of columns in excel

Answers

The formula which calculates the total value of a single row of cells across a range of columns in Microsoft Excel is: =SUM(C15:Y15).

Microsoft Excel can be defined as a software program (application) that is typically designed and developed by Microsoft Inc., to avail its end users the ability to analyze and visualize spreadsheet documents.

A spreadsheet can be defined as a file or document which comprises cells in a tabulated format (rows and columns), that are typically used for formatting, arranging, analyzing, storing, calculating and sorting data on computer systems through the use of Microsoft Excel.

In Microsoft Excel, the SUMIF function is a function which is used to calculate the total value of cells that meet a specific criteria such as:

Text.Dates.Numbers.

Hence, "=SUM(C15:Y15)" is a formula which can be used to calculate the total value of a single row of cells across a range of columns in Microsoft Excel.

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

Explain the working principle of computer with suitable diagram.

Answers

Based on the instructions given, a computer receives data through an input unit and sends it back through an output system after it processes the data. ... Once the data is obtained, the central processing unit (CPU) takes over and processes the information it was provided along with the aid of other components.

The String otherObjects() method relies on the ____________.

a) name.indexOf() method
b) name.equals() method
c) name.compareTo() method
d) name.length()

Answers

B name.equals() method

being able to download a chapter of a new book before buying it or trying out a software option for a month before purchasing are examples of which aspect of the 4e framework?

Answers

Answer:

Experience the product

Explanation:

Being able to download a chapter of a new book before purchasing it is an example of how consumers can experience the product.

most computers have temporary holding areas called __________.

Answers

Answer:

Random Access Memory (RAM)

RAM (Random access memory)

The slogan "You deserve a break today" is an example of a

Answers

Answer:

c trademark

Explanation:

13. WHICH OF THE FOLLOWING IS INVOLVED IN CREATING A DOCUMENT? *

SAVING AND STORING
ENTERING TEXT
FORMATTING TEXT
ALL OF THE ABOV

Answers

Answer:

All of the above

Explanation:

Hope this helps...

what does the term attenuation mean in data communication?

Answers

Simple Answer: Loss of signal strength

Information: Attenuation is the loss of signal strength in networking cables or connections

which item is developed last in the cyclical design process

Answers

The item that is developed last in the cyclical design process is known to be Prototype.

What is the last step in the design process?

Designers which can be known to be evaluators are said to test the complete product using the best solutions known to be in the Prototype stage.

Note that The item that is developed last in the cyclical design process is known to be Prototype.

Learn more about  design process from

https://brainly.com/question/10039920

#SPJ1

heyyyyyy who likes anime​

Answers

Answer:

You apparently

Explanation:

Answer:

I don't like anime I love it

resolution of bitmap graphics is typically measured in

Answers

Answer:

Pixels

Explanation:

The resolution of bitmap graphics is said to be measured in DPI (dots per inch).

What is the measurement  about?

The unit of measurement is often used to tell more about  the resolution of images and it is known to be called DPI (dots per inch).

Therefore, in the above case, The resolution of bitmap graphics is said to be measured in DPI (dots per inch).

Learn more about bitmap from

https://brainly.com/question/21449716

#SPJ6

Which 2 tools are useful to remote employees and coworkers.

Answers

Two big useful tools are one, File Storage tools, and two, Project Management Tools.

Because Brainly is such a big organization for students in need of help with their school work, I believe that it was either somehow reported or taken down by something. Every since even April 2020 and earlier, Brainly has been having issues with letting people register, and now they took down all of their ad's too. Although, it was helpful to many people, it was probably for a benefit. Who agrees?

Answers

Answer:

I agree

Explanation:

the act of getting information out of memory storage

Answers

Answer:

'retrieval'

Explanation:

Why is feedback from other people important when you create software?

Feedback connects your software to programming libraries.
Feedback helps you know what is good or bad about your program.
Feedback automatically fixes the errors in your code.
Feedback tells users how to use your software program in the right way.

Answers

The reason why feedback from other people is important when you create a software application (program) is: B. Feedback helps you know what is good or bad about your program.

Software development life cycle (SDLC) can be defined as a strategic process or methodology that defines the key steps or stages for creating and implementing high quality software programs (applications).

Basically, there are six (6) main stages involved in the creation of a software program and these are;

Planning.Analysis.Design.Development (coding).Deployment.Maintenance.

After the deployment of a software program, the developers usually take feedback from end users, so as to know what is good or bad about their program.

In conclusion, feedback is very important and essential for software developers because it help them to know what is good or bad about a software.

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

Answer:

k

Explanation:

"My pet named Steve."
Who said this?

Answers

Answer:it seems you have said it

Explanation:

....

you did. explanation- ur mom!!

Imagine that you are going to recommend a pet to someone. What are three questions you would ask them to help make that recommendation?

Answers

Answer: what kind of pet do u like? Would u like a big animal? Would u want a reptile or a dog and that stuff?

Explanation:

The  three questions to ask to help make a suitable recommendation:

What is your daily routine like, and how much time can you dedicate to caring for a pet?Do you have any allergies or sensitivities to pet dander or fur?What type of living situation do you have (apartment, house, etc.), and are there any pet-related restrictions?

What is the recommendation

If we know what a person does every day, it will help us figure out if they have enough time to take care of a pet.

This includes giving them food, keeping them clean, making sure they get enough exercise, and spending time with them. Some pets need more time and care than others, so it's important to choose a pet that matches the person's lifestyle.

Read more about recommendation here:

https://brainly.com/question/25288497

#SPJ3

You are the administrator for a small organization with four servers. You have one file server named StormSrvA that runs Windows Server 2016. You have a junior administrator who needs to do backups on this server. You need to ensure that the junior admin can use Windows Server Backup to create a complete backup of StormSrvA. What should you configure to allow the junior admin to do the backups

Answers

Answer:

The local groups by using Computer Management

Explanation:

To allow the junior admin to do backups, their account needs to be part of the Backup Operators local group. To add their account to the local group, you need to use Computer Management.

Which of the following tabs on the Ribbon contains the command to add a Quick Part to a document? A Design B Insert C View D Home ​

Answers

The tab on the Ribbon which contains the command to add a Quick Part to a document is: B. Insert.

Microsoft office can be defined as a processing software application (program) that is designed and developed by Microsoft Inc.

Basically, Microsoft office comprises three (3) main software applications and these are:

Microsoft Word.Microsoft PowerPoint.Microsoft Excel.

The Quick access toolbar is a small, customizable toolbar that is designed to contain a set of commands, which are completely independent of the particular tab appearing on the Ribbon that is being displayed to an end user.  

Generally, the command which is designed to add a Quick Part to a document is the Insert tab on the Ribbon.

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

The command to add a Quick Part to a document is located under the Insert tabs on the Ribbon.

Ribbon:

Microsoft Office is used as the processing software application that's been created and designed by Microsoft Inc. It consists of three core software applications: Word, Excel, and PowerPoint.

Its "quick access toolbar" is still a short, customizable toolbar that includes the set of instructions. It's completely autonomous of the tab that is currently displayed on the Ribbon to the end-user.This Insert tab just on the Ribbon is usually the function that is used to add a Quick Part to a project.

Therefore, the final answer is "Option B", which is Insert.

Find out more information about the Ribbon here:

brainly.com/question/618639

When using a voltmeter the loading effect of the meter is very much considered, where the intended resistance of the voltmeter must be very high. Why do you think it should be this way?​

Answers

Answer:

The loading effect of a dc voltmeter refers to the phenomenon in which a negative error is produced in the voltmeter reading (measured voltage), due to the low internal resistance (i.e., low sensitivity of the voltmeter).

This feature allows you to adjust your view to see the lower and upper part of a document

Answers

Scroll bar i hope this helps :D

Answer: scroll bar

Explanation: It allows you to change your view from side to side and up and down

:D

What is 11100111 to decimal form?

Answers

Answer:

231

Explanation:

Answer 111001.11
Work
11100111/100= 111001.11
Other Questions
Which of the following characteristics are NOT common in a traditionaleconomy?based on agriculture and/or hunting, fishing, and gatheringfocused on industrial manufacturingfocused on producing only what is needed to surviveuse of bartering instead of money WILL GIVE BRAINLIEST!!The cell membrane potential is maintained by the ion channels with movement of ions into and out of the cell. Using the model below, if there was a decrease in protein C, what would be a likely outcome? The membrane will be maintained by an increase of Na+ ions into the cell. The membrane potential will be disrupted by a decrease in K+ concentration inside the cell. The membrane potential will be disrupted by an increase in Na+ concentration inside the cell. The membrane potential will be maintained by an increase in K+ concentration inside the cell. She delivers the daily paper every day.A. Passive voiceB. RedundancyC. Unclear comparison D. Wordiness Who lost his Savannah homes to theBritish during the Revolutionary War? A. gwinnett b. hall c.walton how are payroll taxes different from personal income taxes brainly This question is about the nervous system.Describe the function of receptors in the skin. Please help me! Its for geometry please help me i dont know the answer to both of these. PLEASE HELP ME I REALLY NEED THIS!Why was the US more prosperous than Europe after WWI?a. Europe was recovering from the destruction of World War I.b. America seized colonies all over the worldc. America had technologies vastly ahead of Europe. Solve 2x - 4 > 10 and select all of the following answer choices that would make this inequality true. A)9 B) 5 C) 6 D)8 Droughts have become increasingly dangerous because of... a. acid rain. b. oil spills. c. ocean pollution. d. climate change. if you were given $ 1000, what would you do with it? how would you spend it? please write at least 3 full sentences for credit. Redshift is observed when: (1 point) 10.comLeg, widthand height help rn please!! Ill mark as brainliest for the first person to answer Find the slope-intercept form of the equation of a line satisfying the conditionPassing through (2,-4) and (7,-3) 1. How does cataplexy differ from narcolepsy? Which example can occur when drinking alcohol while pregnant?A liver becomes fatty.An ulcer is formed.Reaction time is increased.Fetal alcohol syndrome is contracted. in about two hundred words choose one of the religious practices and/or festivals in umuofia and explain its cultural signifcance PLEASE HELP ME the linear functions f(x) and g(x) are represented on the graph where g(x) is a transformationPart A: Describe two types of transformations that can be used to transform f(x) to g(x). (2 points)Part B: Solve for k in each type of transformation. (4 points)Part C:an equation for each type of transformation that can be used to transform f(x) to g(x). (4 points)