What will be displayed when the following code is executed? number = 6 while number > 0: number -= 3 print(number, end = ' ').

Answers

Answer 1

With number = 6, the while condition is satisfied. Then number is decremented by 3, meaning we replace the value of number (6) with its current value minus 3 6 - 3 = 3.

Then with number = 6, we still have number > 0, so we decrement again and end up with number = 0.

With number = 0, number > 0 is no longer true, so we exit the loop.

Then the print statement simply prints the current value of number, which is 0.


Related Questions

A new bank customer with 3,000 wants to open a money market account the bank is offering a simple interest rate of 1.8% how much interest will the customer earn in 20 years

Answers

Answer:

$3540

Step-by-step explanation:

See explanation

Step-by-step explanation:

The Simple Interest will be calculated as:

= P × R × T

= $3000 × 1.8% × 10.

= $3000 × 0.018 × 10

= $540

The interest that the customer earn in 10 years is $540.

Then, the account balance after 10 years will be:

= Principal + Interest

= $3000 + $540

= $3540

Therefore, the account balance will be $3540

what is the answer???????​

Answers

Answer:

1.12+8.13-3.5=5.75

2.6×300=780

Answer:

1) 5.75

2) 780

Step-by-step explanation:

1.12+8.13=9.25

9.25-3.5=5.75

Multiple 26x300, then move two decimal places to the right

y+5 = -3/2(x-2) in slope intercept form

Answers

Answer:

  y = -3/2x -2

Step-by-step explanation:

Solve for y:

  y +5 = -3/2x +3 . . . . . eliminate parentheses

  y = -3/2x -2 . . . . . . . . subtract 5

The slope-intercept form of the equation is ...

  y = -3/2x -2

Answer:

[tex]y = -\frac{3}{2} x -2[/tex]

Step-by-step explanation:

[tex]y+5=-\frac{3}{2} (x-2)[/tex]

The slope-intercept form is  [tex]y =mx+b[/tex], where [tex]m[/tex]  is the slope and [tex]b[/tex]  is the [tex]y[/tex]-intercept.

[tex]\mathrm{Simplify}: -\frac{3}{2} \cdot(x-2)[/tex]

[tex]\mathrm{Move\: all\: terms\: not\: containing}\:\bold{y}\: \mathrm{to\: the\: right\: side\: of\: the\: equation.}[/tex]

[tex]\sf{Then,\:rewrite\: in\: slope-intercept\: form.[/tex]

Find the Slope. Show the solution.

1. m = y2 - y1/ x2 - x1

| x | 0 | 1 | 2 | 3 | 4 |
| y | 2 | 3 | 4 | 5 | 6 |


2. y= 2x - 5
m = rise/run


3. (1,8) & (0,2)


Please answer correctly,thank youu! :)

Answers

1.
0-1/2-3 = 1
1-2/3-4 = 1
2-3/4-5 = 1
3-4/5-6 = 1
Since all of these are equal to 1, the slope for the table is 1

2. The slope is 2 as the slope is the number before x on a linear equation

3. 1-0/8-2 = 1/6

Manuel ran his mile in 7.332 minutes. How fast is that to the nearest hundredth? Explain your answer.

Answers

Answer:

7300

Step-by-step explanation:

this is because 3 is in the hundreds column and is rounded down

because the number behind is 3 so it stays the same some it is 7300

Distance=1miTime=7.332minutes=7.332(60s)=439.92s[/tex]

[tex]\\ \sf\longmapsto Speed=\dfrac{1mi}{439.92s[/tex]

[tex]\\ \sf\longmapsto Speed=0.00227mi/s[/tex]

[tex]\\ \sf\longmapsto Speed=0.0023mi/s[/tex]

[tex]\\ \sf\longmapsto Speed=0.002mi/s[/tex]

at the grocery store, abdullah purchased 3 pounds of mac and cheese for $7.50 what does mac and cheese cost per pound?

Answers

Answer:

It costs $0.4 per pound of mac and cheese.

Step-by-step explanation:

3/7.50 = 0.4

Hope this helped. :)

Define suitable populations from which the following samples are selected: (a) Persons in 200 homes in the city of Richmond are called on the phone and asked to name the candidate they favor for election to the school board. (b) A coin is tossed 100 times and 34 tails are recorded. (c) Two hundred pairs of a new type of tennis shoe were tested on the professional tour and, on average, lasted 4 months. (d) On five different occasions it took a lawyer 21, 26, 24, 22, and 21 minutes to drive from her suburban home to her midtown office.

Answers

Using sampling concepts, it is found that the suitable populations are:

a) All Richmond residents.

b) Results of all coin tosses.

c) All pairs of the new type of tennis shoe.

d) The average time on all days is takes to drive from her suburban home to her midtown office.

An example of sampling is asking a sample of 500 Buffalo Bills fans if they think their offense should run the ball more.

The population is all Buffalo Bills fans.

Hence, following the example, first identifying the sample and then expanding it for the population the items are answered.

Item a:

Sample of 200 Richmond homes, hence, the population is all Richmond residents.

Item b:

Sample from the results of 100 coin tosses, hence the population is the results of all coin tosses.

Item c:

Sample from 200 pairs of the new tennis shoe, hence the population is all the pairs of this new tennis shoe.

Item d:

Sample for the time it took to drive from her suburban home to her midtown office of 5 days, hence, the population is the time for all days.

A similar problem is given at https://brainly.com/question/25122507

12×6×2+10×6×2+12×10×2​

Answers

Answer:

504

Step-by-step explanation:

The answer is 504.

Thank me later

what is the answer for

Determine the constant of proportionality for the graph.

10 1/5 5 or 2

Answers

Answer:

1/5

Step-by-step explanation:

y = kx

k is the constant of proportionality

Pick any of the indicated points.

Using point (20, 4)

4 = k(20)

Divide both sides by 20

4/20 = k

reduce

1/5 = k

Suppose that a recent article stated that the mean time spent in jail by a first-time convicted burglar is 2.5 years. A study was then done to see if the mean time has increased in the new century. A random sample of 26 first-time convicted burglars in a recent year was picked. The mean length of time in jail from the survey was three years with a standard deviation of 1.8 years. Suppose that it is somehow known that the population standard deviation is 1.5 years. Conduct a hypothesis test at a 5% significance level to determine if the mean length of jail time has increased. Assume the distribution of the jail times is approximately normal.

Answers

Using the z-distribution, it is found that since the test statistic is greater than the critical value, it can be concluded that the mean length of jail time has increased.

At the null hypothesis, it is tested if the mean length of jail time is still of 2.5 years, that is:

[tex]H_0: \mu = 2.5[/tex]

At the alternative hypothesis, it is tested if it has increased, that is:

[tex]H_1: \mu > 2.5[/tex]

We have the standard deviation for the population, thus, the z-distribution is used. The test statistic is given by:

[tex]z = \frac{\overline{x} - \mu}{\frac{\sigma}{\sqrt{n}}}[/tex]

The parameters are:

[tex]\overline{x}[/tex] is the sample mean. [tex]\mu[/tex] is the value tested at the null hypothesis. [tex]\sigma[/tex] is the standard deviation of the sample. n is the sample size.

For this problem, the values of the parameters are: [tex]\overline{x} = 3, \mu = 2.5, \sigma = 1.5, n = 26[/tex]

Hence, the value of the test statistic is:

[tex]z = \frac{\overline{x} - \mu}{\frac{\sigma}{\sqrt{n}}}[/tex]

[tex]z = \frac{3 - 2.5}{\frac{1.5}{\sqrt{26}}}[/tex]

[tex]z = 1.7[/tex]

The critical value for a right-tailed test, as we are testing if the mean is greater than a value, with a significance level of 0.05, is of [tex]z^{\ast} = 1.645[/tex]

Since the test statistic is greater than the critical value, it can be concluded that the mean length of jail time has increased.

A similar problem is given at https://brainly.com/question/24166849

in the diagram above <1=135 find the measure of <3

Answers

2 = 45°. Step-by-step explanation: ∠ 1 and ∠ 2 are same- side interior angles and are supplementary, thus.

place the comma in the position in the answer
[tex]4.7 \times 2.9 = 1316[/tex]

Answers

First of all, 4.7 * 2.9 = 13.63, so I think a mistake has occurred there and second, comma does not come here because this is not a big number, it is a small number. If you meant a dot instead. it would placed in the middle AKA 13.63

Would appreciate brainliest <3

Aspherical model of planet Earth has a radius of 3 ft. What is the approximate volume of the model of planet earth? Use 3.14 to approximate pi. Round to the nearest hundredth if necessary.​

Answers

Answer:

113.1

Step-by-step explanation:

Like and give 5 star rating

Which statement is true about the prime polynomial 2x2 + 3x + 3?

It cannot be modeled with a rectangle.
It can be modeled with a square.
It cannot be modeled with all positive tiles.
It can only be modeled with an odd number of tiles.

Answers

Answer:

it cannot be modeled with a rectangle

Step-by-step explanation:

let's eliminate the wrong answers first

1. it cannot be modeled with all positive tiles --- this incorrect because it is all positive, so it CAN be modeled with all positive tiles

2. it can only be modeled with an odd number of tiles -- not true, because 2x^2 is  even number of tiles

3. it can be modeled with a square -- to be modeled as a square, the polynomial have to be factored into square ie (x+2)², but cann't be factored as square, so again not true

therefore, first one is the answer. because you cannot factor the polynomial as such (x+2)(x+3), so it cannot be modeled with a rectangle.

Answer:

A: It cannot be modeled with a rectangle.

Step-by-step explanation:

100%

An item sells for $40. The sales tax is 8%. What is the total cost of the item?

Answers

Answer:

43.20

Step-by-step explanation:

I looked up what is 8% of 40 then added it to 40

Step-by-step explanation:

the item sold $40

the sales tax 8%

8/100*40

3.5

Divide 35 in the ratio 3:2

Answers

i’m pretty sure it’s 18:12

[tex]3x + 2x = 35 \\ 5x = -35 \\ x = 7 \\ 3x = 3 \times 7 = 21 \\ 2 x \: \: \: \: 2 \times 7 = 14 \\ 21 \: and \: 14 \: answer[/tex]

hopefully it's help



NEED ANSWER ASAP PLEASE

Use the graph to answer the questions.

What is the price at which the supply and demand equalize (there will be no extra or shortage of product?)
a. $2
b. $8
c. $4
d. $6


What is the quantity at which the supply and demand of this product will equalize?

1. 400 units
2. 300 units
3. 600 units
4. 200 units

Answers

d. $6
2. 300
adding more cuz character limit

At the grocery store checkout, you watch at the register as it rings up your purchases and coupons. The prices are as follows:$2.95 $1.19 $4.61 $1.74 $3.04 $8.83 $1.16 − $0.75 (coupon) − $1.00 (coupon) The register gives your total bill as $21.77.

Answers

Answer:

0 is the best answer 12345

40.185 + 0.01
Round your answer to the nearest
hundredth.

Answers

Answer:

40

Step-by-step explanation:

Answer:

40.20 luv:)

Step-by-step explanation:


AABC-ADEF so if BC = 10, EF = 25 and AB = 20, then DE =

Answers

7.2.....................................

Find the length of side x to the nearest tenth.
х
600
30°
17

Answers

Answer:

5.3

Step-by-step explanation:

Stare at the triangle for a bit. And try to add another one sharing the unmarked angle. You end up with an equilateral triangle. It means [tex]\sqrt7[/tex] is half the hypotenuse, At this point,

help me help me help me

Answers

[tex]▪▪▪▪▪▪▪▪▪▪▪▪▪  {\huge\mathfrak{Answer}}▪▪▪▪▪▪▪▪▪▪▪▪▪▪[/tex]

The required expression is ~

[tex] \sqrt{8} [/tex]

[tex] \sqrt{2 \times 2 \times 2} [/tex]

[tex]2 \sqrt{2} [/tex]

[tex] {2}^{1} \times{ 2 }^{ \frac{1}{2} } [/tex]

[tex](2 ){}^{1 + \frac{1}{2} } [/tex]

[tex]2 {}^{ \frac{2 + 1}{2} } [/tex]

[tex] {2}^{ \frac{3}{2} } [/tex]

I hope it helps ~

Can you’ll help me pls , I really need help.

Answers

Answer:

-t + 4.5>7

Step-by-step explanation:

-18 = t

-t = 18

18+4.5 = 22.5

22.5>7

Boom

hope it helps :)

helpppp meeee mateeee

Answers

No, Yes, No, No

-6 = (w/9) - 1

add 1 both side

-5 = w/9

multiply 9 by both sides

w = -45

Answer:

I'm pretty sure -45 is the only answer out of all of those.

If you answer it right i will give Brainliest. Take 7 times 5= divided by 25 times 100 = divided by 300.

Answers

Step-by-step explanation:

7×5÷25×100÷300

25÷5=5

7×5×100÷300

300÷100=3

7×5×3=105

Item 4
A gopher lives in an underground burrow. It starts at a certain point, p, underground and digs straight down to triple its distance under the surface. It then climbs straight down another 2 feet. Its final position is deeper than 8 feet under the surface.

What was the gopher's original position, p, relative to the surface?

Enter your answer in the box to complete the inequality.

Answers

Answer:

<-2

Step-by-step explanation:

i took the test

Answer:

<-2

Step-by-step explanation:

k12

all quiz answers for a crown!


A garden table and a bench cost $783 combined. The garden table costs $83 more than the bench. What is the cost of the bench?

Answers

Answer:

$557.5

Step-by-step explanation:

783/2

391.5 + 83 (more) =

557.5

Pls Hurry YES I AM GIVING A BRAINLIST AND PLS BE ACCURATE

Answers

Answer:

I haven't understand this

Step-by-step explanation:

2x+y=1

Help would be well appreciated!!!!!!

Answers

A.) -8

Explaining:

Dividing a negative number between a positive number is equal to a negative number.
-(96/12)

Divida the Numbers
-(96/12)
= -8

6x-14<-14 or 3x+10>13

Answers

Step-by-step explanation:

not sure the question but I can solve the equations

6x-14<-14

6x<0

×<0

3x+10>13

3x>3

×>1

Other Questions
Which butterfly-shaped portion of the brain is responsible for spinal reflexes? Ill reward you a bounty of 100 points! plus brainiest if you are the first one to answer my question:Part 1Write your own real-world scenario where the Pythagorean Theorem can be applied to find a missing piece. You may choose to write a problem that is two- or three-dimensional in nature. Be sure that you will be able to draw a diagram of your scenario.Write out your problem and submit it for Part 1. Be sure to end your scenario with a question.Part 2Draw a diagram of the scenario you created in Part 1. You may draw by hand and scan and upload your drawing or create a computer-generated drawing for submission. Be sure to label all parts and dimensions of the drawing.Part 3Solve the question that you posed in Part 1. Show all of your steps in answering the question.For this option, you will need to submit all three parts for full credityour real-world problem and question, the diagram that you created, and your work solving the problem, showing all steps.*Please note that your instructor is looking for your own original idea. While it is acceptable to use the Internet for research and inspiration, academic integrity policies apply. Which value is FURTHEST from 0 on the number line?20-21|20.5||-21.5| A restaurant has a rectangular patio section that is 8 meters wide by 6 meters long. They want to use fencing to enclose the patio.How much fencing will they need to go around their new patio? meters fractional reserve lending"" what does this mean. Will give 100 brainly points and brainlyest if you help plzYou will need the following items: a rope about 10 to 20 meters long, a meter or yard stick, a watch that records seconds, and a helper. Tie one end of the rope to a doorknob or other secure object at about waist height. Have your helper take one end of the rope and whip it up and down Doctors are interested in determining if the human body temperature is really 98.6 degrees. he selects 30 students and records their temperature using a digital thermometer. what type of test would they conduct to test this claim? when do need word likewise? Does anyone know this answer?? What is one specific similarity in the state administration of two American states? Dominic makes bread to sell at his local farmers' market. It costs $1.58 for Dominic to make a loaf of bread. How much money will he spend if he makes 12 loaves of bread? why did protestants want to go to maryland music performed by deaf artists, adapted for deaf listeners, or interpreted into asl can be considered which of the following? deaf music mainstream music*** streaming music silent music Joe was looking through a numeric puzzlebook and found the following puzzle. Thesum of two numbers is two. The differenceof the two numbers is also two. What arethe two numbers? Use your knowledge of management communications to select the three missing labels from the following image.WORD BANKStrategic ConversationsMethodsPurpose-Directed what is the common denominator 4/15 and 1/3? Need answers ASAP PLSS HELPPP!!!!!!!!! Pls help, I need (c) of the problem 3-106 17. By using____to deny people Christian rites, popes could pressure Them to do the popes' bidding.a. Taillesb. Relicsc. Interdictsd. Heretics Write the prime factorization of 315.315 = Write the prime factorization of 315.315 = Write the prime factorization of 315.315 = Write the prime factorization of 315.315 =