What is the output of the following program?

numA = 1
for count in range(3,5):
numA = numA * count
print(numA)
Output: ____

Answers

Answer 1

I don't know if the print statement is indented into the for loop.

If the print statement is indented like this:

numA = 1

for count in range(3,5):

   numA = numA * count

   print(numA)

The output will be:

3

12

if the print statement is indented like this:

numA = 1

for count in range(3,5):

   numA = numA * count

print(numA)

The output will be:

12

I hope this helps!

Answer 2

Based on the scenario above , the  output of the following program written is 12.

What is computer output?

An output is known to be a kind of data that a computer often brings out.

The loop goes from 3 to 5. therefore, Based on the scenario above , the  output of the following program written is 12.

Learn more about output from

https://brainly.com/question/11451813

#SPJ2


Related Questions

Hinata needs to upload a copy of her drivers license to a website as proof of age which two devices can she use to help her create a computer file of her card

Answers

Answer:

Scanner Smartphone

Explanation:

For Hinata to upload a copy of her driver's license she needs to scan the license. This would convert it to a soft copy/ computer copy that can then be uploaded on the site.

One device she can use is the very common Scanner. There are multiple variants but they usually consist of a scanning plane/ glass that the license can be placed on and scanned. A digital copy will then be created.

A second device is simply her smartphone. There are many apps that can be used to scan documents via the phone's cameras so she just has to use one of them and she can easily scan the license thereby converting it to a computer file.

Answer:

Scanner and web cam

Explanation:

Write a function called hms_to_secs() that takes three int values—for hours, minutes, and seconds—as arguments, and returns the equivalent time in seconds (type long). Create a program that exercises this function by repeatedly obtaining a time value in hours, minutes, and seconds from the user (format 12:59:59), calling the function, and displaying the value of seconds it returns.

Answers

Solution:

#include<iostream>

using namespace std;

class timeconvert//class

{

     public:

         int hms_to_secs(int h,int m,int s)//function of the class

               {

                   return (h*3600+m*60+s);

               }

};

int main()

{       timeconvert obj;//creating object of the class

       int h,m,s,total;

       cout<<"enter hour";

       cin>>h;

       cout<<"enter minute";

       cin>>m;

       cout<<"enter second";

       cin>>s;

       total=obj.hms_to_secs(h,m,s);//function call

       cout<<"total second of"<<h<<":"<<m<<":"<<s<<"="<<total;

}

/*

sample output:-

enter hour12

enter minute59

enter second59

total second of12:59:59=46799

*/

In this exercise we have to use the computer language knowledge in C++ to write the code as:

the code is in the attached image.

In a more easy way we have that the code will be:

#include<iostream>

using namespace std;

class timeconvert//class

{

    public:

        int hms_to_secs(int h,int m,int s)//function of the class

              {

                  return (h*3600+m*60+s);

              }

};

int main()

{       timeconvert obj;//creating object of the class

      int h,m,s,total;

      cout<<"enter hour";

      cin>>h;

      cout<<"enter minute";

      cin>>m;

      cout<<"enter second";

      cin>>s;

      total=obj.hms_to_secs(h,m,s);//function call

      cout<<"total second of"<<h<<":"<<m<<":"<<s<<"="<<total;

}

/*

sample output:-

enter hour12

enter minute59

enter second59

total second of12:59:59=46799

*/

See more about C++ code at brainly.com/question/25870717

Why is it important to plan out the design of an app?

Answers

Answer:

you could mess it up

Explanation:

let me explain an app may be easy if you know what your doing. if you dont you most likely might miss a code or mess up the hole code.

Create a presentation on “Pets” and customize your presentation in the following ways:

Apply a theme to your presentation.
Customize and apply master slide.
Apply animation.
Add and apply slide layout.
Write out the steps that you followed when doing so.

Answers

Answer:

I used Microsoft PowerPoint 2010 to create my presentation. I created five slides on the topic of “Pets” and then customized the presentation.

Theme: I selected the Hardcover theme from the Design tab.

Slide Master: The Slide Master consists of all the design elements that I want for my slides. Therefore, I used the Slide Master option from the View tab. It gave me a view of all my slides in the form of thumbnails (on the left side) as Master Layouts. From the thumbnails list, I clicked on the top-most one (larger thumbnail) to edit it. On this master slide, I changed the background design, color scheme, and positioning of the placeholders.

Animation: There were certain slides for which I wanted to add animations. I individually selected those slides and clicked on the Animations Tab. I selected the Zoom animation style for the entry and exit of my text for particular slides.

Slide Layout: Within my presentation, I wanted a slide (slide number 5) to stand out from the rest. This slide would talk about the various pet stores in the vicinity. First, I used the Insert Layout option while being on the Slide Master view. Next, I used the Insert Placeholder option and selected Picture. Then, I had to drag the cursor to create a placeholder on the slide. I right clicked the thumbnail of this new slide and selected Rename Layout to change the name of this custom layout to “Pet Stores.”

Explanation:

This is the answer for Plato

2. How many receivers are used for broadcast transmission? *
A. Multiple
B. One
C. None

Answers

I really thinks it A

A school is developing a program to keep track of information about students and their class schedules. In which of the following instances would a data abstraction be most helpful?

A. The program includes individual variables to store the names of each student rather than a single list of students.

B. A program includes multiple comments that could be combined into a single comment

C. A program includes repeated programming statements that could be moved inside a loop

D. A program includes repeated code that could be moved inside a function.

Answers

Answer: D

Explanation: A doesn't make sense, B doesn't either.

However you're left with C and D. In this case I can understand if you picked C, but I picked that and got the answer wrong.

D makes sense since data abstraction means to simplify the code to make it easy to read and point out details while removing other components.

A function allows one to understand the intention of the code by its name and thus it makes it easier to read.

Therefore, I suggest D.

If the school is to keep track of information about students and class schedules, a data abstraction would be most helpful if the program includes individual variables to store the names of each student rather than a single list of students.

Data abstraction can be described as the reducing of data in order for it to be more simplified and used to represent only the essential characteristics.

It would be most helpful in this option because it has been reduced to individual variables instead of the full list of the students

Read more on https://brainly.com/question/23230368?referrer=searchResults

_____the measuring instrument is not necessary​

Answers

Answer:

The answer to this question is given below in the explanation section.

Explanation:

The zero error of the measuring instrument is not necessary. Because when you measure the difference between two items or objects, you don't need an absolute value.

For example, if you measure the temperature of today and compare it with the previous day, then zero error is not necessary. Because you can produce results either hot or cold. The difference is change.

Another example, when you measure your height and compare it with your friend, you can be either taller or smaller, so sometimes zero error of the measuring error is not necessary.  

What will the output of the following code fragment? fruit=0

Fruits=["Apple","Banana","Grapes","Apple","Apple","Banana","apple"]

for index in Fruits: if index in fruit:

fruit[index]+=1 else:

fruit[index]=1 print(fruit) print("Len of fruit", len(fruit)​

Answers

Answer   4 OPITION

Explanation:

Who developed the first triage-like system for Napoleon's ar

Answers

Baron Dominique-Jean Larrey

What will be displayed in the console when this program runs?

var numList = [10,20,30];
console.log(numList[numlist.length-2]);

Answers

Answer:

20 will be displayed on the console.

Explanation:

Given code is:

var numList = [10,20,30];

console.log(numList[numlist.length-2]);

The first line of code declares an array named numList and assigns it values given in the square brackets.

The second line of code is written to display the element on the index obtained by [numlist.length-2]

[numlist.length-2] means the second index.

Hence,

after running the code on JavaScript editor and dry running the code

20 will be displayed on the console.

Answer:

20

Explanation:

bit is an abbreviation of_____​

Answers

Answer:

Explanation:

bit is an abbreviation of "binary digit".

Can Someone help plz?

Answers

Answer:

i dont understand sorry

Explanation:

Help to get unblocked on here

Answers

Answer:

please am sorry

Explanation:

please I mean to help you but I don't know the process

What specific job usually includes the important pre-production step of making the
script breakdown?
actor
assistant director
O producer
film promoter

Answers

Answer:

B. assistant director

Explanation:

Filmmaking can be defined as the art or process of directing and producing a movie for viewing in cinemas or television. The process of making a movie comprises of five (5) distinct phases and these are;

1. Development.

2. Pre-production.

3. Production.

4. Post-production.

5. Distribution.

An assistant director can be defined as an individual who is primarily saddled with the responsibility of reviewing and making script-breakdown, making daily call sheets of the crew, arranging logistics, and tracking the film production schedule. Also, an assistant director normally functions in the pre-production process of a movie and are expected to work closely with the director and other crew members, so as to understand their requirements or needs.

Hence, an assistant director is a specific job that usually includes the important pre-production step of making the script breakdown.

Can someone solve this for me please? It’s part of an escape room.

Answers

Answer:

THE NARRATOR HEARD ALL THINGS IN HEAVEN AND EARTH AND WHERE ELSE?

The Narrator Heard All Things In Heaven, Earth, and Where Else?

An important part of the development of transport is safety. how can you, when you get around in different ways, contribute to making it safer on the roads

Answers

Answer:

I need help I don't get a this questions please asap?

Explanation:    Head-on collisions. Some simple solutions can help to reduce the risk of head-on crashes. ...

   Run-off road crashes. This is when a vehicle collides with a stationary object, such as a sign or lamppost, after leaving the road. ...

   Intersection crashes. ...

   Vulnerable road users. ...

   Much work to be done.

Aug 31, 2018

Where is the BIOS stored?

CPU
CMOS
RAM
Northbridge

Answers

Answer:

bios stored in CMOS ...

BIOS software is stored on a non-volatile RAM chip on the motherboard. In modern computer systems, the BIOS contents are stored on a flash memory chip so that contents can be rewritten without removing the chip from the motherboard.

Hope I helped ❤️
Plz mark me brainiest? :)

one advantage of using online note-taking tools is that they help students to

a) get organized

b) read faster

c) avoid taking tests

c) avoid studying

Answers

Answer:

the correct answer is A

Explanation:

hope it helps

Answer:

a

Explanation:

In the second example with modulus math, why can't Eve find the solution?

A. She just doesn't have enough time to figure it out
B. She's not good with math so it's surprising she couldn't figure this out
C. She would have to resort to trial and errors to find a matching exponent
D. None of the above

Answers

C. She would have to resort to trial and errors to find a matching exponent

In the second example with modulus math,  Eve can not find the solution because she would have to resort to trial and error to find a matching exponent. Thus, the correct option for this question is C.

What is the significance of Modulus?

The significance of modulus math is determined by the fact that describes the absolute value of any number or variable. It significantly produces the magnitude of the number of variables.

It is also termed an absolute value function. The outcome or result of this function is always illustrated to be positive, as it would not describe the input of its method that has been given to the function.

According to modular mathematics, Eve can not find the exact solution to the specific problem because she would have to resort to trial and error to find a matching exponent.

Therefore, the correct option for this question is C.

To learn more about Modulus maths, refer to the link:

https://brainly.com/question/25925813

#SPJ6

Which of the following is the largest measurement for the weight of a bag of dog food?
(This is for my STEM class and I'm really behind, if any of you can answer this please hurry so I don't fall too far behind)


O 5 lb

O 60 oz

O 5 c

O 2260 g

Answers

Answer:

approximately 5 lbs but no sure weight.

5 lb is the largest measurement for the weight of a bag of dog food. So, the correct option is (A).

What is Weight?

The weight of an object is defined as the force acting on the object due to gravity. Weight is defined as a vector quantity, the force of gravity acting on an object while in some cases weight is defined as a scalar quantity, the magnitude of the force of gravity.

It is the gravitational force that acts on all objects near Earth at all times. The earth pulls all objects downward towards the center of the earth with the force of gravity.

For dog food's bag measurement, about 5lb is the largest measurement.

Thus, 5 lb is the largest measurement for the weight of a bag of dog food. So, the correct option is (A).

Learn more about Weight, here:

https://brainly.com/question/10069252

#SPJ2

When a user modifies the fonts in a message and immediately sees the effect of a font change without actually
selecting the font, which Outlook feature is the user witnessing?
Mini toolbar
AutoCorrect
O Live Preview
O Font View

Answers

Answer:

Font view

Explanation:

Answer:font view

Explanation:

Write a function that takes as input a person’s name, city, state, zip code, and address, where the address is either one string (one line) or two strings (two lines), and prints the person’s information like a mailing label. Show that the routine works regardless of whether it is called with one address line or two address lines.

Answers

I realized you needed this in python.

def func(name, city, state, zip, address1, address2):

   print(name)

   print(address1)

   if address2 != "":

       print(address2)

   print(city + ", " + state + " " + zip)

func(input("Enter your name: "), input("Enter your city: "), input("Enter your state: "), input("Enter your zip: "),

    input("Enter the first part of your address: "),

    input("Enter the second part of your address: (simply press enter if not applicable) "))

This works for me. If you come across any errors, I'll do my best to help out. Best of luck.

What game is this? help meee

Answers

Answer:

I am guessing animal crossing

That’s the emoji game

What is the function of a slide transition in a presentation program?

Answers

Answer:

Just Aesthetics.

Explanation:

The slide transition can smooth out a transition between slides. The transition is purely aesthetic, so it has no actual purpose, other than looking cool.

Answer:

It adds visual effects when you move from one slide to another

Explanation:

Which one my guys I need help

Answers

Answer:

false

Explanation:

for the first one it is false because the toolbar is the same as the taskbar. and a taskbar just add more google windows. and to get a task bar you do SHIFT + Mouse Click on a taskbar button.

help
pls need quickly

Answers

Answer:

Themes

Explanation:

In the slide thumbnail pane on the left, select a slide.On the Design tab, in the Themes group, click the More button (illustrated below) to open the entire gallery of themes:Point the mouse at the theme you want to apply. Right-click it, and then select Apply to All Slides.

Haan creates this table to track his income.
A
1 Month
2 Jan
3 Feb
4 Mar
5 Apr
6 May
7 Jun
8 Jul
9 Aug
10 Sep
11 Oct
12 Nov
13 Dec
14 Year Total
B
Income
$3,800
$3,300
$4,200
$4,900
$2,800
$4,100
$3,000
$4,200
$4,700
$3,600
$5,100
$4,200
Which would give him the total income for the year?
=SUM(B2 B13)
EADD(B1:B14)
SUMB1B14
(B2B13)

Answers

Answer:

Your answer is 42,800.

Explanation:

Add together all the numbers and you get a total income of 42,800.

Answer:

=SUM(B2:B13)

Explanation:

EDGE2021

List three different camera modes and describe how each mode works when taking a photo

Answers

Answer:

Auto Mode--The camera chooses the settings for your photo, which is a good idea if you have no clue what settings to use. Auto mode works well when there is good lighting, but it may struggle when the lighting is uneven.

Portrait Mode--The camera will "think" that there is an object in the foreground to focus on, so it has a shallow depth to keep the focus on the object and blurs the background.

Sports mode--The camera takes the picture in only a fraction of the time it takes pictures in any other mode, because sports are fast activities. Flash is not usually necessary because of high shutter speed used to freeze movement.

Go to your Canvas course and locate the Assignment: Writing Prompt 1: Is the Internet making us Meaner?and complete the activity.


When you are finished, come back here and copy/paste the following as your answer below:


I have completed the Writing Prompt 1: Is the Internet making us Meaner? activity and submitted my assignment in CANVAS. By pasting this text below. I understand that the grade marked here is NOT the grade for the actual assignment and only a place holder for the grade I earn in Canvas.

Answers

Answer and Explanation:

The Internet is not changing anything other than making you extreme. The nice become nicer, the mean become meaner, the nice become mean, and the mean become nice. The internet just makes things easier to do. It really isn't a factor in if you are mean or not.

Answer:

Explanation:

POV: you didn’t find your answer

Which one bc im struggling

Answers

Answer:

cant really see it

Explanation:

Other Questions
Which option describes a gas-liquid solution?A) a liquid solute evaporated into a gas that then acts as a solventb) a liquid solute dissolved in a gaseous solventc) a gaseous solute dissolved in a liquid solventd)a gaseous solute condensed into a liquid that then acts as a solvent According to the synthetic division below, which of the following statements are true? Check all that apply. Write an essay about the effect of cost and production on our economy. Darius can buy two heads of cabbage for $1.80. How many heads of cabbage can he buy if he has $28.80? WILL GIVE BRAINLIST IF ANSWER IS RIGHT AND YOU TELL ME HOW YOU GOT YOUR ANSWER (dont copy and past from a site)Which function allows a user to add another item to a list in Python?a. order()b. print()c. sort()d. append() What is a highland? (5 points)An area of high or hilly landA piece of land surrounded by water on three sidesA large area of land made up of one type of landformA raised, flat-surfaced area bound on one or more sides by cliffs Write an equation of the line passing through the point (5, 8) that is parallel to the line 7x+5y=3 rolulzossA. State three positive uses of computers in the government sector Which two fields were developed in Babylonia? astrology astronomy chemistry physics Help!!!! When B cells encounter a specific antigen they mature to become cells that produce antibodies for that antigen True or false PLEASE HELP! (20 POINTS)Development in the vast majority of countries in Latin America is __________.A.among the highest in the worldB.at or higher than the global averageC.among the lowest in the worldD.either very high or very low; few countries are at the global average Need helpp fastt plss will give brainliest too who is correct plss helpp Which equation below represents a proportional relationship?a. y = 5x 9b. y = 2x + 7c. y = 8xd. y = 3x 2 Caroline packs 12 jars of jam in a box . She has 50 boxes. She has 665 jars of jam. How many jars of jam will she have left when all the boxes are full? why do some root cell have root hair How did John Calhoun react to the Tariff of 1828A. he used his power as vice president to influence Jackson to oppose the TariffB. he led a charge to impose stricter regulations on the second bank of the USC. he devised a force bill allowing the president the right to use the army to enforce the TariffD. he claimed states had the right to cancel any federal law deemed unconstitutional Which of the sets of elements are not in order of increasing force of attraction on the outermost electron in atoms of that element?Ba < Sr < CaAl < P < ClF < Cl < BrMo < Pd < Sn Could the Constitution have been written without compromise? The cultivation of maize was most important to peoples located in (4 points) (1) the Indus River Valley(2) Egypt (3) Mesopotamia(4) Mesoamerica Which (on average) takes the longest to orbit the sun (longest period)?a) asteroidsb) cometsc) Earthd) Mars