What is the output for the following program? numB = 2 while numB < 15: numB = numB + 5 print(numB) Output:

Answers

Answer 1

The following program is a while loop that will output the following data

7,12,17.

In the first iteration, the variable numB is 2, since 2 is less than 15, the program will run the command

numB = numB+5 and it will print 7

The second iteration is still valid because numB is now 7 and is less than 15, so the program will run the command

numB = numB+5 and it will print 12

The third iteration is still valid because numB is now 12 and is less than 15, so the program will run the command

numB = numB+5 and it will print 17

The fourth iteration is not valid because numB is now 17 and is greater than 15, so the program will not run the command

Learn more:

https://brainly.com/question/19344465

Answer 2

Answer: 7,12,17.

Explanation: got it right on edgen


Related Questions

NEED ASAP.


Which multimedia feature can be used to automatically move objects in your slides?
X transition
O animation
O clipart
O innovation

Answers

Animationnnnnnnnnnnnn
Animation or clip art!!

In Outlook 2016, the Tell Me function can be accessed by
O pressing F1 on the keyboard.
clicking on the File tab, then the question mark button.
typing a query in the textbox on the ribbon.
typing "help" in the search box in the message pane.

Answers

In Outlook 2016, the Tell Me function can be accessed by

O pressing F1 on the keyboard.

clicking on the File tab, then the question mark button.

typing a query in the textbox on the ribbon.

typing "help" in the search box in the message pane.

Explanation:

I think it should be typing a query in the textbox on the ribbon.

In Outlook 2016, the Tell Me function can be accessed by clicking on the File tab, then the question mark button. The correct option is B.

What is Outlook?

The preferred email client for sending and receiving emails from Microsoft Exchange Server is Microsoft Outlook. Accessibility to contact, email, calendar, and task management tools is also provided by Outlook.

You can send and receive emails, manage your calendar, save the names and phone numbers of your contacts, and keep track of your projects using Outlook.

Even if you utilize Outlook on a daily basis, you might not be aware of all the wonderful things it can do to boost your productivity.

By selecting the File tab, then the question mark button in Outlook 2016, you may open the Tell Me feature.

Thus, the correct option is B.

For more details regarding Microsoft outlook, visit:

https://brainly.com/question/26695071

#SPJ2

You can raise an object to a height of 2 meters by pulling down a distance of 8 meters on a pulley with a force of 40 N. How heavy an object can you lift with his effort?

Answers

Answer:

160 N

Explanation:

Since, work done by effort = work done by load,

Fd = F'd' where F = effort force = 40 N, d = distance moved by effort = 8 m, F = load and d' = distance moved by load = 2 m.

So, Fd = F'd'

40 N × 8 m = F' × 2 m

320 Nm = 2F m

So, F = 320 Nm/2m

= 160 N

So, the object that can be lifted is an object of 160 N

Do you need a internet browser to go to the intrnet?​

Answers

Answer:

No you do not need a interent browzer to get to the internet.

Explanation:

Not sure but I don’t think so

Jason works for a restaurant that serves only organic, local produce. What
trend is this business following?

digital marketing
green business
e commerce
diversity

Answers

Answer:

green buisness

Explanation:

green business because it’s all natural and it’s organic

Which details in paragraphs 1-5 contrast with your experience and expectations?

Based on these details,what do you think the setting of the story is?

Answers

Answer:

among us

Explanation:

Which of the following is NOT a peripheral?
Keyboard
USB storage drive
Printer
CPU

Answers

USB is the answer to your question
a CPU is NOT a peripheral device because a computer system cannot work without a CPU.
A peripheral device is used to put information into and get information out of the computer.

What should you do first when designing a program?

Answers

Answer: talk about da progrm

Explanation:

Answer:

Step-by step Explanation:

Is the PS5 a W or L? Would you still play on the PS4 more then the Ps5?

Answers

W but PS4 is my favorite

Answer:

HMMM I dont know because if the ps4 has the horizon game then sure but if nit ps5 because that game looks sick

Explanation:

So my teacher asked us to predict who would win in a death match, and we could choose the two characters, so Alastor from Hazbin Hotel vs Blackhat from villinous, who would win?

Answers

Answer:

I think alastor from Hazbin Hotel.

Answer:

alastor

Explanation:

i mean alastor is a demon and blackhat we dont know if he is a demon or not but i mean alastor would win he took down a flying ship that was trying to kill them

Match the example with the type of collection.

{'casa': 'house'}


[3, 5]


(3, 5, 'dog')

Answers

Answer: First is a dictionary, second is a list, and third is a tuple

Explanation:

Which is an email protocol that retrieves email without deleting the email and its attachments from the server?
Simple Mail Transfer Protocol (SMTP)

Internet Message Access Protocol (IMAP)

Post Office Protocol version 3 (POP 3)

Simple Network Management Protocol (SNMP)

Answers

Answer:

Internet Message Access Protocol (IMAP)

Explanation:

The "Internet Message Access Protocol" or IMAP was created by Mark Crispin at the Stanford Knowledge Systems Laboratory. It allows a person to access his email from his local server. In comparison to the Post Office Protocol Version 3 (POP 3), which deletes the emails once they are downloaded, the IMAP allows the contents to be saved on the server. The email will only be deleted if the user intends to do so.

Answer:

It is Pop 3 not IMAP

Explanation:

Correct on edg 2022

Which word best describes the feeling you have when you are in the learning zone?

A. Comfortable
B. Accomplished
C. Unsure
D. Agitated

Answers

Explanation:

This is probably something like a feedback form

but I feel unsure/comfortable

Answer: Accomplished

Explanation:

please help me
...
.... ​

Answers

Answer:

formal information searches

Explanation:

Answer:

informal information source

hope it will help if it helps please ask me in comment

A shop will give discount of 10% if the cost of purchased quantity is more than 1000. Ask user for quantity suppose, one unit will cost 100. Judge and print total cost for user.

Answers

Answer:

The program in Python is as follows:

qty = int(input("Quantity: "))

price = 100 * qty

if qty >1000:

    price = (100 - 0.10 * 100) * qty

print("Cost: "+str(price))

Explanation:

This prompts the user for the quantity

qty = int(input("Quantity: "))

This calculates the price or cost, without discount

price = 100 * qty

This checks if the quantity is greater than 1000

if qty >1000:

If yes, this calculates the price or cost, after discount

    price = (100 - 0.10 * 100) * qty

This prints the calculated cost

print("Cost: "+str(price))

Microsoft word is an example of utility software?

A.true
B.false​

Answers

Answer:

false

Explanation:

Ms word is only an application software

Answer:

Option B. False is the correct answer.

Explanation:

A software that is used to take care of computer and its resources is called utility software while Microsoft word is a dedicated software for documentation and report writing also called application software.

Hence,

Option B. False is the correct answer.

In 1-2 Sentences, Explain how you would open a new Word processing Document

Answers

Explanation:

first you open word processing app. then in the home screen you will see start a new document then you start one.

edhesive 6.8 lesson practice answers please ​

Answers

Answer: any more info yo can give me. i want to help i dont undestand

Explanation:

Answer:

import simplegui

import random

# global constants

WIDTH = 600

HEIGHT = 400

PARTICLE_RADIUS = 5

COLOR_LIST = ["Red", "Green", "Blue", "White"]

DIRECTION_LIST = [[1,0], [0, 1], [-1, 0], [0, -1]]

# definition of Particle class

class Particle:

  # initializer for particles

  def __init__(self, position, color):

      self.position = position

      self.color = color

  # method that updates position of a particle    

  def move(self, offset):

      self.position[0] += offset[0]

      self.position[1] += offset[1]

  # draw method for particles

  def draw(self, canvas):

      canvas.draw_circle(self.position, PARTICLE_RADIUS, 1, self.color, self.color)

  # string method for particles

  def __str__(self):

      return "Particle with position = " + str(self.position) + " and color = " + self.color

# draw handler

def draw(canvas):

  for p in particle_list:

      p.move(random.choice(DIRECTION_LIST))

  for p in particle_list:

      p.draw(canvas)

# create frame and register draw handler

frame = simplegui.create_frame("Particle simulator", WIDTH, HEIGHT)

frame.set_draw_handler(draw)

# create a list of particles

particle_list = []

for i in range(100):

  p = Particle([WIDTH / 2, HEIGHT / 2], random.choice(COLOR_LIST))

  particle_list.append(p)

# start frame

frame.start()

Explanation:

In video game development, the person who oversees and directs the entire design team and is the key vision keeper is
the

Answers

Answer:

The Lead Designer

Explanation:

The Lead designers main role is to oversee how a game looks and is played. They manage a, normally small, design team. They work with them to come up with many aspects of the game itself like; characters, props, and plots to the game. they also, makes sure that the team itself stays on track, is within budget, and meets the designated deadlines.

What might the Internet of Things do in the future?

Answers

The future of IoT has the potential to be limitless. Advances to the industrial internet will be accelerated through increased network agility, integrated artificial intelligence (AI) and the capacity to deploy, automate, orchestrate and secure diverse use cases at hyperscale.

This is your data.
A= [5, 10, 15]
B = [2, 4, 6]
C = ['dog','cat', 'bird']
You can implement an array of this data with

Answers

Answer:

This is your data.

A =  [5, 10, 15]

B =  [2, 4, 6]

C =  ['dog','cat', 'bird']

You can implement an array of this data with  

either by using lists or by using the array module

ALSO

This is your code.

>>> A = [ 'dog', 'red']

>>> B = [ 'cat', 'blue']

>>> C = [ 'fish', 'green']

You can implement an array of this data by using  

by using lists but not by using the array module

Explanation:

Edge2020

A= [5, 10, 15],  B = [2, 4, 6], C = ['dog','cat', 'bird']. You can implement an array of this data either by using lists or by using the array module.

What is an Array?

An array is a type of data structure used in computer science that holds a set of elements that are all uniquely recognized by at least one array index or key. Each element of an array is recorded such that a mathematical formula may be used to determine its location from its index tuple.

Indexed arrays, multidimensional arrays, and associative arrays are the three types of arrays.

A procedure called indexing selects a subset of values from an array. A value's position inside an array is indicated by its index. The location of the value in an array differs from the value itself.

To read more about Array, refer to - https://brainly.com/question/14375939

#SPJ2

I need to calculate the % of Grand Total on Microsoft Excel, but can't for the life of me remember how to do that. Help would be greatly appreciated.

PS: Reposting my question because the answers I got previously were both only made for points, not to help in any way. :(

Answers

Answer:

You need to first use the Sum function to add up all the costs of September.

Then divide each September cost by the grand total that you got. After that format the last column to be percentages.

Look at the attached file for the formulas used.

Which of the following is a palette of colors, fonts and special effects which complement one another?
O Placeholders
O Theme
O Background
Slide Masters

Answers

Answer:

Theme

Explanation:

Android OS "AFTER" Beta.
A. Cupcake
B. Candy
C. Cookie
D. Carmel

Answers

Answer:

Android OS "AFTER" Beta is;

A. Cupcake

Explanation:

The Android Beta mobile operating system was released on November 2007 while on the 23rd of September, 2008, the first commercially available version of the Android, Android 1.0 was released

Android 1.0 and 1.1 were not assigned actual code names and the first Android mobile operating system release to be assigned a code name is the Android 1.5 which was code named Cupcake by the project manager

Identifying Responses and Replies
Use the drop-down menus to complete the sentences about message response options in Outlook.
v sends your response to everyone who received the initial email.
v creates a new message that includes the initial message to a new recipient.
v sends your response to only the sender of the initial message.

Answers

Answer:

Identifying Responses and Replies by using the drop-down menus to complete the sentences about message response is written below in detail.

Explanation:

A situation like this may be:

Someone receives a bike. They travel it and all, and then all of an unexpected they fall and get injured

If you only understood the first section of how the person received a bike when you draft a response, you would only draft about that piece, but getting harm after receiving the bike is also a huge portion of the "story". You could draft like how you were so pleased when you received your first bike, but you wouldn't remember to address the time you got injured when you were riding down a hill or something.

Answer:

Reply All

Forward

Reply

Explanation:

Any device that uses light to read and write information.

A. Optical Drive

B. Peripheral Device

C. Laser Device

D. Optical Device

Answers

I think Optical Drive does.

Answer:

the answer is optical drive

Explanation:

hope that helps thanx optical drive uses reflected light to read data.

The answer is D!!Readable code includes
o the use of formatting to make the code look better.
the use of dense lines of code without indentation.
o the use of comments that are of no use to future users of the progran

Answers

Answer:

D

Explanation:

says in title

Readable code includes the use of comments that are of no use to future users of the program. The correct option is c.

What are readable codes?

Readable code is just code that makes its goal crystal plain to the reader. The likelihood is that other developers will read the code we write and want to either comprehend it or modify it. It's interesting to read the code. Variable, function, and class names in the code are meaningful.

The code may need to be tested, a bug fixed, or a new feature added. The evolution of the codebase is facilitated by readable source code, which makes it easier to read and comprehend the abstraction phases. Future developers can save time and effort by writing readable code.

Therefore, the correct option is c, the use of comments that are of no use to future users of the program.

To learn more about readable codes, refer to the link:

https://brainly.com/question/19540616

#SPJ2

An eReader has a 956-pixel x 1290-pixel grayscale display with each pixel able to display 32 shades of gray. What is the KiB size of the display memory for the device

Answers

Answer:

752.71 kilobytes

Explanation:

Given ;

956-pixel x 1290-pixel

Shades of gray, = 32

Bit depth (n) = 2^n

32 = 2^5

Bit depth, n = 5 bits / pixel

The size of display memory :

Pixel dimension * n

(956 Pixel * 1290 pixel) * 5 bits /pixel

= 6166200 pixel * bits / pixel

= 6166200 bits

Converting bits to kilobytes :

1 bit = 1/8 bytes

1 byte = 1/1024 kilobytes

Hence,

1 bit = 1/(8 * 1024) kilobytes

1 bit = 1/8192 kilobytes

6166200 bits = (1/8192 * 6166200) kilobytes

= 752.7099609375 kilobytes

= 752.71 kilobytes

.xls is the file extension for this file type

A. Image File

B. Internet File

C. Spreadsheet File

D. Word Processing File

Answers

Answer:

Spreadsheet File

Explanation:

Most word processing files are doc or docx

Most internet files are htm or html

Most Image files are jpg or png

Consider the following code: x = 5 x = x * 3 print (x) What is output

Answers

Answer:

Output: 5

Explanation:

It will print 5 on the screen

Other Questions
A study found that 23% of the cars manufactured last year were SUVs, 13% of the cars manufactured were white, and 2% of the cars manufactured were white SUVs.To the nearest whole percent, what is the probability that a car is an SUV, given that it is white?9%15%21%57% how does the disturbance travel through the coil when you move your arm back and forth? is -5(x-8)+2 equivalent to -5x-38 What did the three-fifths compromise do Colonies were mostly run for the benefit of mother countries, but some people believed the colonial system helped everyone because it spread European civilization, How does Kipling feel about colonialism? Write three to four sentences, using the poem to support your answer. need help whit history can come one help me I need help!! Simplify this complex fraction Express this number in scientific notation.31 billion Which is the most common type of precipitation?hailrainsleetsnow Daniel's age is 15% ofSarah's. Luke's age is 75% ofSarah's and 300% of Daniel's.When they added their ages,the total was 141. How old isRachel? C. Choose the correct form of the irregular verb based on the subject. (ser, estar, ir)11) T _______ alto.a. soy b. eres C. son d. somos12) Ellas ______ bonitas.a. soy b. eres C. esd. son13) Nosotros _______ a la escuela.a. voy b. vamos c. va d. van14) Los estudiantes _______ trabajadores.a. es b. eres C. somosd. son15) Mara _______ en Florida de vacaciones.a. ests b. est c. estoy d. estn What do immigrants often share with other Americans?A. Another languageB. How to drawC. Where to parkD. Words to songs A mixture is made by combining 1.61 lb of salt and 5.37 lb of water. What is the percentage of salt (by mass) in this mixture? If Minnie the Mouse starts moving at 2m/s and increases her velocity to 4m/s because she is being chased, what is heracceleration if the time is 2 seconds? How to get 6/9 as a decimal using division help Help please im terrible at maths !! Althea paid $5.00 each for two bracelets and later sold each for $15.00. She paid $8.00 each for three braceletsand sold each of them for $9.00.a. Write an expression that represents the profit Althea made.b. Evaluate the expression. Name the property used in each step. 3. Q3) What is the smallest number of identical squaresthat will fit in this rectangle? 0.110 is _____ than 0.450?A. lessB. greaterC. equalD. greatest