What is the output of the following program?

for num in range(4):
print (num * 2)

Answers

Answer 1

The range() function with one parameter defaults to a starting value of 0 and has an ending value of the number specified exclusive.

range(4) is all the integers between 0 and 4 not including 4.

for num in range(4):

   print(num*2)

The output would be 0 2 4 6 all on separate lines.

Answer 2

Answer: 0,2,4,6 all in separate boxes

Explanation: got it right on edgen


Related Questions

What is output by the following code segment? int x = 11; int y = 11; if (x != y ) { System.out.print("one"); } else if (x > y) { System.out.print("two"); } else if (y = x) { System.out.print("four"); } else { System.out.print("five"); }

Answers

The output will be four because y and x are equal and that satisfies the condition for the else if statement that prints out four.

What symbol indicates that material has been copyrighted?

Answers

Answer:

Ermmmmmm...

I Think if a thing doesn't hhave a trademark or something like that.

Explanation:

Up there

Answer: I believe it’s the circle one with the c, sorry if I’m rong ༼つ ◕◡◕ ༽つ

Explanation:

3.6 Code Practice Edhesive. (PYTHON LANGUAGE)

Example:
Enter a number: 1
Largest: 1
Enter a number: 3
Largest: 3
Enter a number: 4
Largest: 4
Enter a number: 9
Largest: 9
Enter a number: 3
Largest: 9
Enter a number: 5
Largest: 9

Answers

i = 0

lst = ([])

while i < 6:

   lst.append(int(input("Enter a number: ")))

   print("Largest: "+str(max(lst)))

   i+= 1

This works for me. Best of luck.

James is writing a program in C++ and forgets to put curly braces where they are supposed to be. James will see a message about which of the following when the program is run? database error variable error binary error syntax error

Answers

Answer:

syntax error

Explanation:

curly braces demarkate code blocks. omitting them and code may violate the syntax, hence produce a syntax error.

Question #1
Multiple Select
Which features are important when you plan a program? Select 4 options.
Knowing what the user needs the program to accomplish.
Knowing how to find the result needed.
Knowing how many lines of code you are allowed to use.
Knowing what information is needed to find the result.
Knowing what you want the program to do

Answers

Answer:

Multiple Select

Which features are important when you plan a program? Select 4 options.

Knowing what the user needs the program to accomplish.

Knowing how to find the result needed.

Knowing what information is needed to find the result.

Knowing what you want the program to do

Explanation:

It is the other 4, and not Knowing how many lines of code you are allowed to use.

A program refers to software that is written by computer experts to help users to accomplish certain special tasks. The features that are important when you plan a program are;

Knowing what the user needs the program to accomplish. Knowing how to find the result needed. Knowing what information is needed to find the result. Knowing what you want the program to do

To successfully plan a program, the programmer ought to know what the intention of the user is. It could be for communication, blogging, advertisement, etc.

Next, you need to know how to write the code. Java, HTML, etc are possible programming languages that can be used to do this.

A good grasp of the information needed to write the code is also necessary.

Learn more here:

https://brainly.com/question/20057346

what does Iamo mean? i keep on hearing it and idk what it means

Answers

Answer:

laughing my ars e off

Explanation:

AAAAAAAAHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH

Manfred wants to include the equation for the area of a circle in his presentation. Which option should he choose?

Answers

Answer: The answer is D Insert tab of the ribbon, choose equation and select the equation from the default options

Explanation:

When you go to the insert tab of the ribbon you choose equation and select the equation from the default options. I know this because I went back and I tried each one of these out and none of them made sense so it’s D. I also did the review and got it right

Answer:

Explanation: edge 2022

What game is this? help me please

Answers

Answer:

animal jam

Explanation:

animals around the house

Need help Fast
Question #3
Multiple Choice
What is the missing line of code?
>>> answer = "happy birthday"
"Happy birthday
o answer uppert)
O capitalize answer)
o answer capitalize()
O upper answer

Answers

Answer: answer.capitalize()

Explanation: this is the correction

what is ever single animatronic in fnaf sl / fnaf 5

Answers

Answer:

Funtime Freddy.

Baby.

Ballora.

Ennard.

Funtime Foxy.

Minireena.

William Afton.

Explanation:

i am a HUGE fan of fnaf hoped this help

Answer:

my fav is grim foxy

Explanation:

baby

ballora

the litttle balarena sh ts

funtime freddy

bon bon

funtime foxy

the babies

endo dude

the macenics

Select the correct answer. Dawna is working on a term paper using a word processor. She has saved each draft of her paper as a separate version. She wants to include a section from an earlier draft in her current document. What should she do? ОА. refer to the earlier draft and type the section again in her current document cut the section from the earlier draft and paste it in the current document OB Oc. save the eadler draft with a new name and work in it OD copy the section from the earlier draft and paste it in the current document Reset Next​

Answers

Answer:

D. copy the section from the earlier draft and paste it in the current document

Explanation:

A word processor can be defined as a software application or program designed to avail the end users the ability to type and format text documents for various purposes.

Some examples of word processors are Microsoft Word, Notepad, etc.

In this scenario, Dawna is working on a term paper using a word processor. She has saved each draft of her paper as a separate version. She wants to include a section from an earlier draft in her current document.

Therefore, what she should do is to copy the section from the earlier draft and paste it in the current document.

A copy or cut is a formatting technique used for copying and cutting (removing) textual informations from a document respectively.

Hence, Dawna should copy the section from the earlier draft rather than cut, so as to maintain the information in the draft for any future reference or use.

What operating system is a smart phone most likely to use?
A) BSD
B) Mac OS X
C) Symbian
D) Linux

Answers

Answer:
Linux

Reason:
According to Google, BSD is discontinued. Symbian is also discontinued. Linux is on some smartphones. Max OS X are for computers.

Hope this helped!

Answer: it's C) Symbian

Explanation: trust me bro

4.2 Code Practice: Question 1
Can someone help me write the code in python language?

Answers

Answer:

number = int(input("Enter a number: "))

sum = number

c = 1

while (sum<=100):

   number = int(input("Enter a number: "))

   sum = sum + number

   c = c + 1

print("Sum: " + str(sum))

print("Numbers Entered: " + str(c))

Explanation:

Hope this helps lovely :)

Can someone answer this for me will award brainliest lol

Answers

Answer: Without GUI's being developed, we most likely would still be using terminal systems. Terminals require command/text input rather than mouse or  other input. The invention of GUI's enabled people to use simpler input methods, rather then clunky text input systems. To sum, GUI's simplified the computer experience as we know today.

Hope this helped :)

Multiple Choice
Technological skills are not necessary to pursue a career in marketing.
O True
O False

Answers

Answer:

O False

Explanation:

The answer would be false

Need Help Again!!! :S

Software that allows users to use and adapt it for any purpose, often allowing the public to participate in further development is ____________.

free source

open software

open source

Answers

There is a lot of answers it could be but it would be open software .

Answer:Open Source

Explanation:Because the source can be programmed by anyone and submitted for addition to the coded software.

I WILL MARK YOUR BRAINLIEST IF YOU ANSWER

Draw a flowchart to print first 10 multiples of 5.
Please also draw it on paper and answer

SILLY ANSWERS = REPORT!

Answers

Answer:

Explanation:

Sorry it's very messy, for this a loop is need but inclusive of a count/index variable which I have used and called the variable 'number'

Which code causes a ValueError?

int('4')

3 / 0

int('four')

3 / 2.0

Answers

Answer:

Option 3: int('four') is the correct asnwer

Explanation:

ValueError occurs in Python when we try to store wrong content in the datatype or conversion.

For example, if we try to store a string in integer datatype.

From the given options,

int('four') will produce a ValueError because "four" is a string and cannot be converted to integer data type.

Hence,

Option 3: int('four') is the correct asnwer

4.3 Code Practice: Question 1

Answers

I've included my code in the picture below. Best of luck.

Following are the program to the given question:  

Program Explanation:

Defining an "age" variable that uses the "int with input" method that inputs integer value from the user-end.After input value, a for loop is declared that uses the "age" variable and calculates its value, and prints the value with the message that is "**HUG**".

Program:

age=int(input())#defining an age variable that inputs integer value

for i in range(1, age+1):#defining a for loop that count input value  

print("**HUG**")#print message

Output:

Please find the attached file.

Learn more:

brainly.com/question/17796174

Does anyone know 7.1.3: Firework karel?

Answers

Answer:

Yess its from freelancer

what is a cpu and what does it do

Answers

The CPU is the brain of a computer, containing all the circuitry needed to process input, store data, and output results. The CPU is constantly following instructions of computer programs that tell it which data to process and how to process it.

The central processing unit (CPU) is known as the brain of the computer it also takes the raw data and turns it into information.

Give four examples of Graphic and Streaming media capabilities to have in a computer​

Answers

Answer:

A GPU would be needed for graphic capabilities

Lots of RAM would be needed for streaming

CPU would be essential to graphic and streaming capabilities

Cooling is essential to a good experience for graphic and streaming

Hope this helped, brainliest appreciated :)

frrrrrrrrrrreeeeeeeeee brainliest for u

Answers

Answer:

thank you, have a nice day!

Explanation:

How are you and how have you been?

whats 12/29 divided by 12/34

Answers

Answer:

1.17

Explanation:

12 ÷ 29 = 0.414

12 ÷ 34 =  0.353

0.414 ÷ 0.353 = 1.17 or 1 17/100

The division of fraction 12/29 divided by 12/34 gives 34/29.

To find 12/29 divided by 12/34:

Step 1: Find the reciprocal of the second fraction, 12/34:

Reciprocal of 12/34 = 34/12

Step 2: Multiply the first fraction by the reciprocal of the second fraction:

(12/29) ÷ (12/34) = (12/29) * (34/12)

Step 3: Simplify the multiplication:

(12/29) * (34/12) = (12 * 34) / (29 * 12)

Step 4: Further simplify the multiplication:

(12 * 34) = 408

(29 * 12) = 348

Step 5: The final result:

(12/29) ÷ (12/34) = 408/348

Now, GCD(408, 348) = 12

So, the simplified fraction will be as

(408 ÷ 12) = 34

(348 ÷ 12) = 29

Thus, the final simplified result is 34/29.

Learn more about Fraction here:

https://brainly.com/question/10354322

#SPJ6

What are the benefits and risks of a client-server network?

Answers

Answer:

Ermm... i don't really know but probably

the benefits can be: multi device connection and can be upgraded.

The disadvantages: The server is expensive i think, a special staff like  a network manager  is needed, and if any single part of the system fails a whole lot of disruption can come.

hope this helps!

Which of the following statements are true regarding models? Select 3 options.

In a model, the general characteristics are separated from the details.

Models help predict how a specific solution will respond.

Models help you understand a complex situation by including all of the details.

Models represent the system or problem at a detailed implementation level.

Models help communicate a design.

Answers

Answer:

Answer:

Models help predict how a specific solution will respond

In a model, the general characteristics are separated from the details

Models help communicate a design

Explanation:

The statements that are true regarding models are:

B. Models help predict how a specific solution will respond.

A. In a model, the general characteristics are separated from the details.

E. Models help communicate a design.

What is a model?

A model is an artificial representation of an object or a process. Models are used to show the process or things that are very big and can not be understood by the actual thing.

By looking for patterns in a set of input data, predictive modeling uses mathematics to foretell future events or results.

Therefore, the correct options are A. In a model, the general characteristics are separated from the details, B. Models help predict how a specific solution will respond, and E. Models help communicate a design.

To learn more about the model, refer to the link:

https://brainly.com/question/14281845

#SPJ2

Mr. Stevens is the principal of a high school. Why might he want to export data from a database of students’ exam scores?

Answers

Because a database would be accurate and professional

Mr. Stevens might create a presentation using other software on how students' scores have changed throughout a semester.

What are presentation method?

A presentation method is known to be the ways or process that a person uses deliver any kind of presentation.

Note that by creating a presentation using other software on how students' scores have changed throughout a semester, Mr. Stevens can export data from a database of students’ exam scores.

Learn more about database from

https://brainly.com/question/27246719

#SPJ2

Help

Question #3
Multiple Choice
You designed a program to create a username using the first three letters from the first name and the first four letters of the last name. You
are testing the program, the last step in the process. For a user named John Smith, what username should the program create?
O johnsmith
John Smith
O JohSmit
johsmit

Answers

JohSmit would be the answer because it has first 3-4 letters with correct caps and all

(101100.1101)2=(?)8​

Answers

Answer:

(54.64)

Explanation:

(101100.1101)2 represents the decimal number 44.8125

in base 8 that is 5*8 + 4*8⁰ + 6*8⁻¹ + 4*8⁻²

Which visual aids can be used to present large amounts of numerical data from multiple sources? Check all that apply.

an illustration
a line graph
a topographical map
a bar graph
a pie chart
a climate map

Answers

Answer:

The correct answers would be B.) a line graph and D.) a bar graph

Explanation:

I just did the assignment on edge 2020 and got it right

The visual aids that can be used to present large amounts of numerical data from multiple sources are;

A line graph A bar graph

What are the visual aids?

Visual aids are known to be objects of a visual means, such as graphs, photographs, etc.

Conclusively, They are often used along with spoken information. The visual aids that can be used to show large amounts of numerical data from different sources are line and bar graph.

Learn more about  visual aids  from

https://brainly.com/question/3610367

Other Questions
Is this chemical equation balanced? yes or no Mg + 2O ---> 2MgO Why is capsaicin used in the experiment? Answer the question about the following picture below PLEASE ONLY ANSWER IF YOU ACTUALLY UNDERSTAND THE CONTENT!An animal population has two alleles, "B" and "b". They are normal Mendelian alleles. The "B" allele is found at 80% of the gene pool, and the "b" allele is only at 20% of the gene pool. This population is at Hardy-Weinberg equilibrium. What will the percentage of "B" alleles be in the next two generations?A) 80% and 80%B) 80% and 64%C) 60% and 40%D) 50% and 25%E) 80% and 40% The sequence below follows the Fibonacci rule.Calculate the next term.8, 13, 21, 34, 55 * Susan, a mother with Type B blood, has a child with Type B blood. She claims that Craig, who hasType O blood, is the father. He claims that he cannot possibly be the father. The judge aced herBIO30 class, so she rules that:a: susan cant be the real mother of the child; there must be an error at the hospitalb: susan is right and craig must pay child supportc: all of the aboved: itss impossible to reach a decision based on the limited data available Please answer give it too me now Clare knows that Priya has a bunch of nickels and dimes in her pocket and that the total amount is $1.25. Find one possibility for the number of nickels and number of dimes that could be in Priya's pocket. Write an equation that describes the relationship between the number of dimes and the number of nickels in Priya's pocket. Explain what the point (13,6) means in this situation. Is the point (13,6) a solution to the equation you wrote? Explain your reasoning. Find the area of the Compound shapeThe answer is 45 m^2I just need the steps.... Explain a theme in Roll of Thunder, Hear My Cry. As part of your explanation, describe an event from the story that supports the theme. What was one important consequence of the Battle of Trafalgar?* 4 ptsQuestion 1(04.01 MC)The supervisor at an office randomly selected 45 employees and observed their work habits. She recorded thenumber of items sold as well as the total time the employees spent at their desk. Classify the random variablesfrom the survey. (4 points)Number of items sold, discrete; time spent at desk, discreteNumber of items sold, continuous; time spent at desk, continuousNumber of items sold, continuous; time spent at desk, discreteNumber of items sold, discrete; time spent at desk, continuousO Unable to determine from information given Question # 8Multiple ChoiceWhich of the following is the most important skill for macroeditors to develop?proofreadingwritingcommunicatingorganizing M I hear weird noises in my basement Please help Are they rats? What is the solution of the equation p + r + 2 = 3r 4 3p in terms of r? Question 1The leather that is used for the car seats in a BMW car are considered which type of good?.intermediate goodB. final goodC. interpolated goodD. foreign good A group of fitness club members lose a combined total of 28 kilograms in 1 week. There are approximately 2.2 pounds in 1 kilogram. Assuming the weight loss happened at a constant rate, about how many pounds did the group lose each day?8.8 pounds12.7 pounds61.6 pounds89.1 pounds A recipe calls for 2/3 of cups of milk for 11 cookies. How many cups of milk are needed to make 165 cookies? 3(2x 5) = 6x + k , whats the value of k?