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

consider a system for temperature measurement consisting of an integrated temperature sensor (electronic component sensitive to temperature) and an amplifier of the voltage signal produced by the sensor. the sensor has a voltage output and linear characteristic between -10 degrees and 20 degrees; at 0 degrees it is 1 v and increases by 0.1 v for each degree of temperature. it is required to determine the mathematical relationship that links the system output (represented by the amplified voltage) to the input (represented by the temperature of the environment in which the sensor is immersed) and to represent this relationship by means of a graph.

Answers

Answer:

ZOO WEE MAMA

Explanation:

ZOO WEE MAMA

which cyber protection condition establishes a protection priority focus on critical and essential functions only

Answers

INFOCON 1 is the cyber protection condition establishes a protection priority focus on critical and essential functions only.

INFOCON 1 describes the threat level system (defense system) that is used to defend against military attacks and is based fundamentally on the status of information systems i.e. on essential and critical functions of the system.

There are often five levels of INFOCON with INFOCON 1 being an acronym for "information operations condition 1" and is used in the United States of America and is carried out on attacks that were successful and could impact the missions of the Department of Defence and as such is only needed on occasions of extreme cyber risks.

In addition, INFOCON 1 describes the Computer Network Defense system at maximum alertness and any compromised systems in the network are completely isolated from the rest of the network to avoid further damage.

Learn more about cyber protection here: https://brainly.com/question/25157787?referrer=searchResults

 

What type of software repairs or improves a larger application that is already installed on a system?
O spreadsheet
O mapping
O patch
O anti-virus

Answers

Answer:

Mapping

Explanation:

Hope it helps you

People’s personal information is collected _____. Select 4 options.

A. in order to learn how to enhance their privacy.
B. so that organizations can make predictions about people.
C. so that governments can make decisions about policing.
D. so that organizations can market more effectively.
E. in order to learn more about the way they behave.

Answers

Answer: I think the answer is A),B),C),D)

Explanation: I hope this helps,please let me know :)

Answer:

A, B, C, and E

Explanation:

correct of edge 2022

Helpppp
You can see the output if your html result using any web browser ?
True or False

Answers

True, html code can be seen using any web browser. All web browsers support the most renown and definitely mostly used website designer code language. From chrome to Firefox to safari, you will have no problems checking out your code.

Help please! i don’t know how to do this.

H2 should be:
-Blue
-Times New Roman or Arial
-Align to the right

2. Strong should be:
-Teal
-32pt
-Boldness of 700

3. P should be:
-All in uppercase
-Overlined
-Word space of 10em

Answers

Answer:

Make sure to create and link a css file with the following:

<link rel="stylesheet" href="./styles.css">

In your css file, enter these styles:

h2 {

   color: blue;

   font-family: 'Times New Roman', Times, serif;

   text-align: right;

}

strong {

   color: teal;

   font-size: 32pt;

   font-weight: 700;

}

p {

   text-transform: uppercase;

   text-decoration: overline;

   word-spacing: 10em;

}

Explanation:

In order for the html file to know where your styles are located, you have to link it to the css file with the code given above. In this file, you will enter some css to change the styles of the elements you have created in your html file.

To alter the style of an element, you first have to enter the name of the element itself, its class or its id. In this case, we have used the element itself, meaning that all the same elements in the html file will have the same style. The styles you wish to use are entered in between the curly brackets.

In your specific problem, we are trying to change the h2, strong and p elements, so that is what we have done. For the h2, you wanted it blue, therefore we use the color property to change the color. For the font, we use the font-family and finally we use text-align to align it to the right. The same pretty much applies for the other two elements. Your strong element needs to be teal,32pt and 700 bold. Therefore we use the color, font-size and font-weight properties respectively. And finally for the p element, we will use the text-transform, text-decoration and word-spacing properties respectively.

When you dont know the name of the property you want to change, I suggest googling it. You will definitely find the property name you are looking for. W3schools.com is a good source to use.

Program to count how many even and odd number are in the range from M to N using C++ programming language

Answers

Answer:

#include<stdio.h>

#include <iostream>

using namespace std;

 

int main(){

   int number, min, max;

   cout << "Enter the minimum range: ";

   cin >> min;

  cout << "Enter the maximum range: ";

   cin >> max;

   cout << "Odd numbers in given range are: ";

   for(number = min; number <= max; number++)

        if(number % 2 !=0)

            cout << number<< " ";

   cout<< "Even numbers in given range are: ";

   for(number = min; number <= max; number++)

        if(number % 2 ==0)

            cout << number << " ";

 

   return 0;

}

Explanation:

First of all, we take declare two variables. one as the lowest number of the range and the other as the upper limit of the range (in this case: min and max). We declare another variable (number) and store in it the lowest number of the range (min). To check whether the number currently stored as the value of the variable (number) is even, we take in account the remainder of that number divided by 2. If the remainder does not equals 0, we print that number as odd. We again check the remainder by dividing the number by 2. If the remainder does equals 0, we print that number as even.

What are megapixels?
A. the size of an image captured by a camera
B. giant pixels inside the camera
C. a computer store
D. a video game played in a camera

Answers

Answer:

A.

Explanation:

A. It's the total number of pixels in an image obtained by multiplying the dimensions (height times width). For large images, this multiplication can be in the millions (=mega), hence the term mega pixels.

Over the past week, every time Larry has started his computer, he has noticed that the time is not correct. Larry didn't consider this a problem because his computer was working properly. However, now Larry has decided that he should investigate why the time is not accurate. What can you tell Larry to check to find out why the clock does not keep the right time?

Answers

Answer + Explanation:

You can tell Larry to set his device's location on 'enabled' at all times. That way, you get the time zone too. For example. if you live in the US, and your Location is not enabled, then the device may think that you are in China, or where the device was last at.

njbuhbgtgyuhjkhghghvgbtyujhnhbvgvfgtyujhnhbgfrtrythg

Answers

Answer:

odkgxxkxhfohxgichocohct8xiycohx8tx8ychichicjoviyxycohvi

Explanation:

brainlylist please

GDHUEBJEHSHWJ. JEHSHEHNSJQKHXUEBDJNWBXUEBDHIEHDHEHDJWJSKKAHAHFHEUXHEJJAGAGGAIKHAHAHHDJEINZ, Huehshsjnsksob…Gdhdhbsjs

The headgear shown in the video is used to combine 3-D models with real-time information visualized through the helmet. For which type of jobsite is this technology commonly used?

Answers

Headgears such as the daqri smart helmet leverage the capability of the mixed reality to produce smart helmets which provides sleek real-time interactivity commonly isde in construction sites.

Mixed reality technology integrated the capability virtual reality to produce 3D images, which is coupled with the ability to interact with the real world.

The helmet allows engineers to picture the intended design and interact with the environment while maintaing and adhering to safety protocols.

Learn more : https://brainly.com/question/25273027

why wont my chromebook stay charging while im using it

Answers

Answer:

Explanation:

Well, it is probly because your chromebook is broken or the carger and/or is it working when you are not using it?

2. YOU CANNOT IGNORE A SUGGESTION GIVEN BY WORD TO SAY YOU SHOULD CORRECT A SPELLING ERROR. *

True
False

Answers

Answer:

False

Explanation:

If you spell a word that Microsoft Word doesn't recognize, you can always click the little opened book icon (the spelling check book will appear with either an x or a check mark) at the bottom left hand-corner, and you have the option to ignore the misspelled word.

Hope this helped :)

If it didn't, then I'm sorry

After completing a career search, Patrick has decided that he wants to be a paralegal. Which two skills or abilities are important for him to have in order to excel in this career?
research skills
analytical thinking skills
creative thinking skills
math skills

Answers

Answer:

Research skills & Analytical thinking skills

Answer:

Research skills & Analytical thinking skills

Explanation:

please tell me the answer a.1111+1011. b. 10111+11111 c. 1111*1011 d. 1110*1101 perform the binary calculations.​pleaseeeeeee​

Answers

Answer:

c.111*1011

Explanation:

because this is the perform fissionable or the binary calculations

mark me brainliest please

Answer:

[tex]11010[/tex]

Explanation:

Number 1 in the decimal system

[tex]1111^2 = 1510[/tex]

Number 2 in the decimal system

[tex]1011^2 = 1110[/tex]

Their sum

[tex]15 + 11 = 26[/tex]

Result in binary form

[tex]26 {}^{10} = {1101}^{2} [/tex]

Which type of basic building blocks (constructs) is the following algorithm?

A.Sequence
B.Selection
C.Iteration
D.Iteration and Sequence

Answers

The type of basic building blocks (constructs) used in the above algorithm is: A. Sequence.

An algorithm can be defined as a standard formula (procedures) which comprises a set of finite steps or instructions, that is typically used for solving a problem on a computer.

Basically, there are three (3) basic building blocks (constructs) used in an algorithm and these include:

I. Iteration.

II. Sequence.

III. Selection.

Selection is a building block (construct) that is used to determine the set of instruction or step to execute in a program based on a Boolean expression such as:

True or False.Yes or NO.

If the conditional test (grade > 50) is True (Yes), a part of the program is executed, which is to output a "Pass."

Otherwise, the program would execute and output a "Fail" i.e the conditional test (grade > 50) is False (No).

 

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

How do you answer someone's question when they have asked?

Answers

Answer:

press answer or add answer

Explanation:

Answer:

there is an answer (+answer) down-left side click on it and then add the answer.

Bob gets an e-mail addressed from his bank, asking for his user ID password. He than notices that the e-mail has poor grammar and incorrect spelling. He calls his bank to ask if they sent the e-mail, and they promptly tell him they did not and would not ask for that kind of infromation, What is this type of attack called

Answers

Answer:

A Fraud Attack(or scam :D)

Explanation:

EZ answers friend and put THANKS in my profile

how the robots made????

Answers

I don’t know I just don’t

Answer:

Using certain circuitry, a robot can be made using systems that are wired to fix or perform a function. The production of each robot is different depending on what it’s function is for. Many parts are extracted from elements which come in several forms, like silicon, or iron and aluminium.

Drones are robots that use IMU, gyro stabilization and flight controller technology.

(I'm not sure what you need, but I hope this helps) If you were asking something else, please comment and let me know.

in word 2010, the document information panel has been moved to the ______.

Answers

In word 2010, the document information panel has been moved to the File tab.

Microsoft Word is a word-processing program that is used for creating documents.

The steps taken to locate the document information panel is:

Open a new document in Word 2010. Click on the File tab located at the top-left corner of the window. Click on Properties and then click the Show Document Panel

In word 2010, the document information panel has been moved to the File tab.

Find out more at: https://brainly.com/question/17241854

Range is an example of a ______________.
PLZ help!!!

Answers

Answer:

Function

Explanation:

In python, they use this word a lot.

The function in Python is an example of just one. Whenever called, the reach function accepts one argument. This range function accepts up to 3 arguments, but at least one must be specified when this is invoked.

It provides a process called range(). It returns a series of numbers that starts at zero and increments by one by default, stopping before the defined set.This function is most commonly used to iterate sequence types (Python range () list, string, and so on) using for and while loops.In the for loop, one of the most common uses of the range () method is to iterate through a series of variables.

Therefore, the final answer is "Function".

Learn more:

brainly.com/question/22291227

50 POINTS!!!!!!!!!!!!!!!!!!!!1
Which of the following statements about translating content are true? Select 3 options.

A. Using a translation app or plug-in is often the best choice for those on a budget.

B. Translating content is the only activity required to localize your application.

C. In almost all circumstances, it is best to have a person translate your content.

D. Components that should be translated include license agreements, notifications, and alternative text for images.

E. Unicode allows for automatic translation through the use of standard codes for each character.

Answers

Answer:

A, C, and E

A. Unicode allows for automatic translation through the use of standard codes for each character.

C. In almost all circumstances, it is best to have a person translate your content.

E. Components that should be translated include license agreements, notifications, and alternative text for images.

Explanation:

I tried your answer but it was wrong. This was the answer that came up instead.

The statements which are true about translating content are as follows:

Using a translation app or plug-in is often the best choice for those on a budget.In almost all circumstances, it is best to have a person translate your content.Unicode allows for automatic translation through the use of standard codes for each character.

Thus, the correct options for this question are A, C, and E.

What do you mean by Content translation?

The Content translation may be defined as the methodology of modifying existing contents that are considerably designed in order to attract, engage, and retain a particular audience.

Examples of the content translation may include blog posts, white papers, videos, podcasts, newsletters, social posts, etc. These content translations are generally done in order to make the audience understandable and be satisfied with the information that was earlier written in a very complicated form.

Therefore, the correct options for this question are A, C, and E.

To learn more about translation, refer to the link:

https://brainly.com/question/14480244

#SPJ2


Why is it important to create a web maintenance schedule? Check all of the boxes that apply.

Answers

Attach a picture so we can see the question

A, B, D

I just did it mate :)

Develop an algorithm to print the names of the candidates who should receive a refund. A refund is due if the candidate's votes received equals or exceeds 20 per cent of the votes cast in the constituency. The algorithm should also determine and print the number of candidates who received a refund. Test the algorithm with data from ten candidates. The algorithm must accept as input the names of the candidates, votes received and the votes cast in the constituency. The algorithm should print the name of the candidate and the words "Refund Due" or "No Refund" and the number of candidates who received a refund.​

Answers

Answer: start

input candidate name, votes received and vote cast

if count =number of candidate who re

Explanation:

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

hãy mô tả thuật toán cho bài toán sau: Cho N và dãy a1, a2,.. an. Hãy cho biết số âm trong dãy số đó.

Answers

Answer:

I can't understand you lol your so mudafaka

What is the name of the file manager in Microsoft Windows?
The file manager used in Microsoft Windows is

Answers

Answer:

The File Explorer. Hope this helped! <3

Explanation:

Where do you see script fonts? Where do you see Display or Ornamental fonts?

Answers

Answer:

Script typefaces are based upon the varied and often fluid stroke created by handwriting. They are generally used for display or trade printing, rather than for extended body text in the Latin alphabet. Some Greek alphabet typefaces, especially historically, have been a closer simulation of handwriting.

Explanation:

What is 11100111 to decimal form?

Answers

Answer:

231

Explanation:

Answer 111001.11
Work
11100111/100= 111001.11

what corporation created what is now the most widely-used computer operating system in the world?

Answers

Answer: Microsoft windows

Explanation: Microsoft Windows is likely the most well-known and common computer operating system in the world today. It was developed by Bill Gates’ Microsoft Corporation and can run on a number of different platforms, particularly on PCs or Personal Computers.

Other Questions
What are two numbers whose product is 81 and their sum is -18? Guide Questions:1. What makes the food to decay?2. What should you do to the decaying materials?3. What are the possible effects of decaying materials on one's health and safety?4. What would you do to prevent harmful effects of decaying materials?5. How will you encourage others to prevent food to decay?.Pa help pleaseRight AnswerBrainliest Wrong AnswerReportedI will wait for the answer Write your answers in 'Your answers' part.( 14 points)1. Don't leave your clothes about on the bedroom floor.A. lie2. This is the most B. laydifficult job that I C. have lyingever tackled. D. laying3. Matthew A. by has farchanged hisB. by all meansseveral C. times by right D. new by the car.way about buying a A. sight B. view C. head D. mindTom: ''You really disappointed me with your behavior." - Mary: "Sorry. I so immaturely yesterday."mustn't have behaved B. shouldn't have behavedshouldn't behaveought not to behaveThere lots of furniture in the furniture department.A. is/ on display B. is/ displaying C. are/ displaying D. are/ to displayPlaying violin was to be great adventure for him. He knew little about it./a/ a B. the / /a C. a/ a/ a D. the / a/ The poor child was in flood of because his bicycle had been stolen.weeping B. crying C. tears D. unhappiness8. Nick: "Haven't you put an advertisement in the paper yet?"- Mi: A. I'm not sure. Really? B. I will, the first thing in the afternoon. C. I'm with you there. D. I can get a paper for you right now.The older children were very excited when the new babydelivered B. gave birth C. arrived D. bornPeople who work as hard as Bill Gates are few and faraway B. between C. from D. offNot only John but his brothers in debt.were B. have C. wasappear, they are really much larger than the Earth.As the small stars B. The stars as small C. Despite of the small stars D. Small as the stars13.Mark the letter A, B, C, or D to indicate the word or phrase that is CLOSEST in meaning to theunderlined part in each of the following question. The shop assistant was totally bewildered by the customer's behavior. A. disgusted B. puzzled C. angry D. upset 3,047.092 in expanded form. who has the only star on the hollywood walk of fame that cannot be stepped on g(-4)if g(x)=x^2 - 4x Flying at an average speed of 525 miles per hour, how far can apassenger fly in 2 hours, in 3 hours, and in 4 hours? helloo, pleeasee hellp noow, i don't know this... 12. Which of the following statements shows the best expectations to have about the audience for your essay?O A. Expect your readers to be experts in the field of your topic.O B. Don't expect your readers to know as much as you do about your topic.C. Assume that your readers know more than you do about your topic.D. Don't assume your readers know anything at all about your topic. Can you help me solve this please Which of the following is not true?p+q = q+p p x q = q x p p x (q x r)=(p x q ) x r p - q = q - pPlz answer my exam is going on right now If you were permanently disabled or incapacitated, what would contribute or take away from your quality of life? Balance equations practice (PLATO: The Interwar Period: Tutorial)How did President Roosevelts speeches discuss American ideals and patriotism? Answer this in 2-3 sentences. What was the context clue that helped you figure out the meaning of resolve? A. A word meaning the opposite was used in the sentence. B. The writer restated the meaning with a clue word. C. The writer was talking about his mom. D. The prefix re- means again. What do I put in the blank box? Could you also add step by step explanation? If you cant its fine :) use the numbers -4,-1,3/2 or 2/3 to write an expression brainly what does the consent of the governed allow the people to do Please help10 points and I will give you brainliest Which formula would add the January and February profits?