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

Identify an equation in point-slope form for the line parallel to y-x-4 that
passes through (-1, 7).
O A y-7 - (x+1)
O B. y+1-(x-7)
O C. -?.5(x+1
O cy 7
y-
O D. yt? (x-1)
SUBMIT

Answers

Answer:

A

Step-by-step explanation:

The equation of a line in slope- intercept form is

y = mx + c ( m is the slope and c the y- intercept )

y = [tex]\frac{3}{4}[/tex] x - 4 ← is in slope- intercept form

with slope m = [tex]\frac{3}{4}[/tex]

Parallel lines have equal slopes

The equation of a line in point- slope form is

y - b = m(x - a)

where m is the slope and (a, b ) a point on the line

Here (a, b ) = (- 1, 7 ) , then

y - 7 = [tex]\frac{3}{4}[/tex] (x - (- 1) ) , that is

y - 7 = [tex]\frac{3}{4}[/tex] (x + 1) → A

Factorise. 5a² - 10a​

Answers

Answer:

5a (a -2)

Step-by-step explanation:

Hey there,

Here, you have to get the common factors out from the brackets.

According to this question,

a and 5 are the common factors.

Therefore, you can write the answer like this,

5a² - 10a

5a (a -2)

Hope this helps you.

Let me know if you have any other questions :-)

The sum of twice a numbet n, and 14 ls 30 write an equation that models this
statement. Then explain how you might use reasoning to find the value of

Answers

Answer:

2n + 14 = 30

n = 8

Step-by-step explanation:

When the question says twice a number n, that means 2 * n = 2n.

Then when it says the sum of 2n and 14, that means 2n + 14.

Then they said that the sum of 2n + 14 = 30

If you want to find the value of n, subtract 14 from both sides:

2n = 16

Then divide by 2 on both sides:

n = 8

I hope this helps!

Find the measure of each angle.



Given: m∠2=x
m∠3=x−16

Solutions:

m∠2=

m∠3=

Answers

Answer:

m∠2 = 98°,   m∠3 = 82°

Step-by-step explanation:

I'm going to assume this is a straight angle

Supplementary angles

Supplementary angle are two angles that equal 180°

m∠2+m∠3=180°

-Substitute

m∠2+m∠2-16=196°

add both side by 16°

2m∠2=196°

Divide both sides by 2

m∠2=98°

Since we said m∠3 = m∠2 - 16°

m∠3 = 82°

Find the perimeter. Simplify your answer.
Please help me!

Answers

W-6 + w-6 + 1 +1

2w - 12 + 2

2w - 10 units. Hope this helped

NO LINKS NO FILES NEED HELP ASAP GET IT RIGHT YOU GET CROWN!!
Seriously no links or files

Answers

Answer: A = 27 units^2

Step-by-step explanation: If you cut the shaded region in half it's two rectangles so you have to find the area of it using the formula to find the area of a rectangle.

A = (w)(l)                                                                                                                     A = (3)(9)                                                                                                                   A = 27 units^2

One yard of ribbon costs $0.49, and 3 yards of ribbon costs $1.49. Which is the better buy?

Answers

$0.49        ?

.........................................

Answer:

I think the better one is $1.49

Step-by-step explanation:

That's just my opinion

A polynomial divided by a polynomial is a polynomial

Answers

Answer:

what is this question???

Answer: I think you were trying to ask if this was a true statement, and the answer is yes. If that's what you needed to know?

Among all the paintings in an art exhibit, 60% are oil paintings, and the remaining 40% are watercolor paintings. Among the oil paintings, 5% of them are abstract. Among the watercolor paintings, 10% of them are abstract. What percent of the paintings in the art exhibit are abstract? I give thanks!

Answers

Answer:

7%

Step-by-step explanation:

can you Solve for c?​

Answers

Answer:

[tex]3\sqrt{2}[/tex] or [tex]\sqrt{18}[/tex]

Step-by-step explanation:

Use 45-45-90 triangle theorem

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

The Running Aces card team won $548 dollars playing in poker tournaments last year. The winnings were split evenly among the p players.
How much money did each player receive?
Write your answer as an expression.

Answers

Since the question doesnt give the amount of players on the team we can just say that each player was given 548/p dollars.

How Take a picture of the question

Answers

Answer:

uh

Step-by-step explanation:

this is very easy go to your camera

Solve to get cake, cookies and a hug

Answers

First find the length of the line in the middle.

c^2=5^2 + 5^2
c = square root of 50

Then use that to find x.

8^2 - c^2 = x^2
64-50 = x^2
14 = x^2
x = square root of 14

Naomi has earned $81 mowing lawns the past two days. She worked 3
1
2
hours yesterday and 3
1
4
hours today. If Naomi is paid the same amount for every hour she works, how much does she earn per hour to mow lawns?

Answers

Answer:

She would of made $40.5 because of $81 divided between the 2 days that she worked

Remember y=mx +b Given the following graph what would the equation be?

Answers

Answer:

b. y=1/2x-2

Step-by-step explanation:

We can determine b by looking at the y intercept, which, in this case is (0,-2). Now we know that b is -2. To find the slope, we need to look a rise over run which is 1/2 here (1 up, 2 right). So, our final answer is y=1/2x-2

JELLY BEANS A large jar contains B blue Jelly beans and R red jelly beans. A bag of 100 red and 100 blue jelly beans is added to the jar. What is the ratio of red to blue jelly beans in the Jar?


PLEASE HELP ME. Would very much appreciate it ​

Answers

Answer:

100:100

Step-by-step explanation:

100 reds and 100 blues are in there

What is the value of 3x + 4y² when x = 5 and y = 3?

Answers

The value of 3x + 4y² when x = 5 and y = 3 is 51.

What are Expressions?

Expressions are mathematical statements which consist of two or more terms and terms are connected to each other using mathematical operators like addition, multiplication, subtraction and so on.

Given expression is,

3x + 4y²

We have to find the value of the expression when the value of x = 5 and that of y = 3.

For that, substitute x = 5 and y = 3 in place of x and y.

3x + 4y² = (3 × 5) + (4 × 3²)

             = 15 + (4 × 9)

             = 15 + 36

             = 51

Hence the value of the expression is 51.

Learn more about Expressions here :

https://brainly.com/question/455361

#SPJ3

Answer:

51

Step-by-step explanation:

About 5 out of 10 people entering a community college need to take a refresher mathematics course. If there are 970 entering​ students, how many will probably need a refresher mathematics​ course?

I need a answer asap

Answers

i think it’s 485 sorry if i’m wrong

Based on information from Consumer Reports, a random sample of 35 thirty-gram cookies had a sample mean of 146 calories. The standard deviation is know to be σ = 12. Find a 90% confidence interval for mean calories in a 30-gram serving of all chocolate chip cookies. Round the numbers in your interval to the nearest whole number.

Answers

Using the z-distribution, it is found that the 90% confidence interval for mean calories in a 30-gram serving of all chocolate chip cookies is (143, 149).

We are given the standard deviation for the population, which is why the z-distribution is used to solve this question.

The information given is:

Sample mean of [tex]\overline{x} = 146[/tex]. Population standard deviation of [tex]\sigma = 12[/tex]. Sample size of [tex]n = 65[/tex].

The confidence interval is:

[tex]\overline{x} \pm z\frac{\sigma}{\sqrt{n}}[/tex]

The critical value, using a z-distribution calculator, for a 95% confidence interval is z = 1.645, hence:

[tex]\overline{x} - z\frac{\sigma}{\sqrt{n}} = 146 - 1.645\frac{12}{\sqrt{35}} = 143[/tex]

[tex]\overline{x} + z\frac{\sigma}{\sqrt{n}} = 146 + 1.645\frac{12}{\sqrt{35}} = 149[/tex]

The 90% confidence interval for mean calories in a 30-gram serving of all chocolate chip cookies is (143, 149).

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

Find the area of the parallelogram. b = 90 ft h = 2 yd The area of the parallelogram is __ft² or __yd². ​

Answers

540 ft^2 because 90x6=540 2 yards = 6 feet

I ain’t giving n9 answer

Let (x) = 6x. The graph of f(x) is transformed into the graph of g(x) by a verticle compression of 1/3 and a translation of 2 units up. What is the equation for g (x)?

Answers

Answer:

g(x) = 2x + 2

Step-by-step explanation:

f(x) = 6x

g(x)= 1/3*f(x) + 2

g(x) = 2x + 2

A function is described by the equation
f(x) = 3x – 4. If f(x) = 26, what is the
value of x?

Answers

23 is the answer to this 8 point question

m= -2 b=15 write the equation of the line​

Answers

Answer:

y=-2x+15

Step-by-step explanation:

Hi there!

We are given that m=-2, b=15, and we want to write the equation of the line, given these values

We can write the line in slope-intercept form, which is y=mx+b, where m is the slope and b is the y intercept, since we are given the values of both m and b.

Since we know the values of m and b (-2 and 15 respectively), we can substitute those numbers in as the variables they equal to.

Substitute -2 as m:

y=-2x+b

Substitute 15 as b:

y=-2x+15

Hope this helps!

ΔPQR, P = 11, Q =9, and R = 8, so my question is (What are the angles from each side) m∠P=
m∠Q=
m∠R=
I know I need to use the LAW OF SINES and LAW OF COSINES. I know I need a law of cosines but I don't know how to put the numbers in right place.

Answers

Well…… I’m not sure. Sorry bud

Help plzzzz! I rlly need help asap

Answers

Answer:

x=0

Step-by-step explanation:

2x-9=0

2x=9

x=9/2

4x+10=0

4x=-10

x=-5/2

2(9/2)-9 =0

4(-5/2)+10=10

A linear function g models a relationship in which the dependent variable decreases 3 units for every 5 units the independent variable increases. Graph g when g(0)=-3 . Identify the slope, y-intercept, and x-intercept of the graph.

Answers

Answer:

The slope (m = rate of growth) for this function is 3/5. So, m= 3/5.

The y-intercept (b) for this function is located at (0,3). So, b=3.

Therefore, h(x) = 3/5x + 3

Step-by-step explanation:

Let the independent variable be x and dependent variable be y

y=h(x)

h is a linear function so it is represented in the general form of y=mx+c where

m is slope and c is the y-intercept.

Given "the dependent variable decreases 3 units for every 5 units the independent variable increases."

When x increases by 5, y decreases by 3

So the slope = rate of change of y / rate of change of x = -3/5

Given h(0)=3, h(0)=m(0)+c=3

c=3

Combining slope and y-intercept, y=-3/5*x+3

x-intercept is when y=0

0=-3/5*x+3

3/5*x=3

x=3*5/3=5

x-intercept=5

The slope of the linear function 3/5.

The y - intercept of the linear function - 3.

The x - intercept of the linear function - 5.

What is Equation of line?

The equation of line in point-slope form passing through the points

(x₁ , y₁) and (x₂, y₂) with slope m is defined as;

⇒ y - y₁ = m (x - x₁)

Where, m = (y₂ - y₁) / (x₂ - x₁)

Given that;

A linear function g models a relationship in which the dependent variable decreases 3 units for every 5 units the independent variable increases.

And, g(0) = - 3

Now,

Since, A linear function g models a relationship in which the dependent variable decreases 3 units for every 5 units the independent variable increases.

So, Slope = Rate of growth

               = - 3 / 5

Thus, The slope of the linear function - 3/5.

Hence, The general form of equation of line is,

⇒ y = mx + c

⇒ g (x) = - 3/5x + c

Since, g (0) = - 3

⇒ g (0) = - 3/5 × 0 + c

⇒ - 3 = c

Thus, The y - intercept of the linear function - 3.

Hence, We get the general form of equation of line as;

⇒ g (x) = - 3/5x - 3

For x - intercept put g (x) = 0, we get;

⇒ 0 = - 3/5x - 3

⇒ - 3/5x = 3

⇒ x = - 5

Thus, The x - intercept of the linear function - 5.

Therefore, The slope of the linear function 3/5.

The y - intercept of the linear function - 3.

The x - intercept of the linear function - 5.

Learn more about the equation of line visit:

https://brainly.com/question/18831322

#SPJ2

How do I check my answer?!?? 6.78J-5.2=4.33J+2.15. J=3

Please answer !

Answers

you tried plugging in 3 for J on both sides of the equation

A car salesman has 5 used cars for sale. They have a mean price of $7000. What is the total price of all 5 cars?.

Answers

Answer:

Step-by-step explanation:

5 used cars for sale. They have a mean price of $7000

. What is the total price of all 5

cars?

We are given total number of cars = 5 cars.

The mean of all of five cars = $7000.

Note: Total sum/value could be calculated by multiplying mean with the total numbers we have.

Total price = Mean × Total number of cars.

According to problem, mean is 7000 and total number of cars is 5.

Therefore, Total price of all 5 cars = 7000 × 5 = $35000.

We are given total number of cars = 5 cars.

The mean of all of five cars = $7000.

Note: Total sum/value could be calculated by multiplying mean with the total numbers we have.

Total price = Mean × Total number of cars.

According to problem, mean is 7000 and total number of cars is 5.

Therefore, Total price of all 5 cars = 7000 × 5 = $35000.

Someone help me please :(

Answers

Answer:

ok, but i can't even see nothing, though ;-;

Three people take 2½ hours to deliver leaflets to 270 houses. Assuming all people deliver leaflets at the same rate, how long will it take five people to deliver leaflets to 405 houses? Give your answer in hours and minutes.​

Answers

Answer:

3 hours 45 minutes

Step-by-step explanation:

270/2 1/2 = 108. This means they are delivering 108 leaflets an hour. Then you divide 405 by 108 and get 3.75, which is 3 hours and 3 quarters of an hour. since a quarter of an hour is 15 minutes it would be 3 hours 45 minutes.

Other Questions
Why does the Coale keep referring to Wilburn Waters' "Indian nature" in The life and adventures of Wilburn Waters: the famous hunter and trapper of White Top Mountain: embracing early history of southwestern VirginiaA. to show how Waters is one-quarter Native AmericanB. to explain why Waters was such an excellent hunterC. to make his readers aware of Waters' violent temperD. to create a theme about Waters' natureLanguage Arts Question Marketing is Significant for Both Profit and Non-Profit OrganizationsDo you agree with this statement? Explain If cos(x) = Three-fourths and tan(x) < 0, what is cos(2x)?. Name the following:The cell that covers a large area and is broad and flat in shape. If your heart rate is 155 beats per minute during strenuous exercise, what is the time per beat in units of seconds how do sugars from cyclic hemiacetals I need the answer ASAP please, 415 divided by 5 help.................. At Keller's Bike Rentals, it costs $36 to rent a bike for 7 hours.How many hours of bike use does a customer get per dollar how can not being diagnosed with a mental illness that a person has affect them? -example: person with adhd/depression never being diagnosed with adhd/depression A store pays $79 for a desk and marks the price up by 10%. What is the new price? A change in what component of microscopy influences the apparent size of the objects being viewed?. can someone give me the answer no explaining Brainliest if correct OK History Final AssessmentWhat did the Supreme Court rule in Worcester v Georgia?O The Cherokee Indians had to move from their land in GeorgiaO The state of Georgia had no legal power over the CherokeeO Only state government had authority over American IndiansO US troops in any state had the right to move American Indians a boy is y years old now .how old was he 10 years ago 1. Choose which of Newtons laws of motion is occurring in the boundary types situation.Two plates that slide past each other build up stress that is released as an earthquake.1st Law of Motion2nd Law of Motion3rd Law of Motion What is the perimeter of the shape to the right? What role did popular culture play in the western world between 1945 and 1965?. "Analyze how the interactions between Hundert and The Bells develop a central idea in The Palace Thief by Ethan Canin."IntroductionBroad Idea/Hook (Do we ever really know anyone? Do we ever know ourselves? How are our true selves revealed?)Bridge (Introduce the work and the main character being talked about"In the novel, The Palace Thief, the Central Idea of Character is explored through the narrator, Hundert, and his interactions with those around him."Brief summary (write a short overview of the Character of Hundert so far; literally one or two sentences. You may pull a quote here for effect if you like, but not needed).THESIS (I have done this for you; when we return from break, you will be expected to create these on your own.)The exploration of the central idea of Character is developed through Hunderts interactions with Sedgewick as a student, Senator Bell, and Sedgewick as a man. it's my first quest why does your website suck because first of all I have failed multiple assignment because of this website never using it again