4.8 Code Practice: Question 1
Instructions
Write a for loop to print the numbers 5, 10, 15 … 75 on one line.

Expected Output
5 10 15 20 25 30 35 40 45 50 55 60 65 70 75

Answers

Answer 1

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

4.8 Code Practice: Question 1InstructionsWrite A For Loop To Print The Numbers 5, 10, 15 75 On One Line.Expected
Answer 2

Loops are used to perform repetitive operations.

The for loop in Python is as follows:

for i in range(5,76,5):

   print(i,end =" ")

The syntax used for the range in for loop is: (start,end+1,increment)

The start represents the first value to be printed.

So: start = 5

The end represents the last value to be printed.

So: end = 75

Because the end value will not be inclusive, the value is incremented  by 1

The increment is 5

Read more about similar programs at:

https://brainly.com/question/21298406


Related Questions

Part B
How would you classify a network formed by connecting two MANs together?
В І у хх Font Sizes А • А

Answers

Computer programming 2254518752669

Question # 6
Math Formula
What is the output of this program? Assume the user enters 2, 5, 1, and 6.

numA = 0
for count in range(4):
answer = input ("Enter a number: ")
fltAnswer = float(answer)
numA = numA + fltAnswer
print (numA)

Answers

Answer:

14.0

Explanation:

The loop converts each answer to a float. The accumulator variable adds the values entered.  

2.0 + 5.0 + 1.0 + 6.0 = 14.0

Answer:

14.0

Explanation:

Edge 2021

Why can the internet keep growing as more devices are added without decrease in performance?

Answers

Answer:

Explanation:

There may be many reasons why your internet speed is slow. Internet use requires a reliable connection between your device and the destination, which may be a server that is physically located on the other side of the world.Your connection to that server could pass through hundreds of devices on its journey. Each one of these is a potential failure, or weak point. If one point along this path isn’t functioning optimally, this can significantly affect your internet experience.

There are many reasons your Internet connection might appear slow. It could be a problem with your modem or router, Wi-Fi signal, signal strength on your cable line, devices on your network saturating your bandwidth, or even a slow DNS server. These troubleshooting steps will help you pin down the cause.

Select the correct answer.
What is a hyperlink?
A.
A bold link that goes back to a newspaper
B.
A link that clicks on itself
C.
A way to cite sources in an online article
D.
A special link on a smartphone

Answers

Answer:

c.

Explanation:

a link from a hypertext file or document to another location or file, typically activated by clicking on a highlighted word or image on the screen.

Answer:

c

Explanation:

came out my study guide and i made a 96 % on my 50 question test

A peripheral can be used to tell a computer to complete a specific task.
A) True
B)False

Answers

Answer:

A. true

Explanation:

because you can complete it without it mistakes if your using an computer but if you use an paper you will make mistakes over and over

Hi guys, Im making a game. I want to make a collision event, but what is the code for making the wall and the box collide. I really need a quick and correct response. Pls support.

Answers

Answer:

i think its 3337

Explanation:

Which of this isn't one of the three types of cryptograph?

A. Vegenere
B. Symmetric
C. Asymmetric
D. Hashing

Answers

Answer:

A. Vegenere

Explanation:

I think it's spelled Vigenère, I might be wrong.

The three types of cryptograph are:

Symmetric Key Cryptography (Private/Secret Key Cryptography)

Asymmetric Key Cryptography (Public Key Cryptography)

Hash Function

What is the difference between soft copy output devices and hard copy output devices​

Answers

the output printed on the paper is called hardcopy output. some examples are printer and plotter.

the output produced on display screen and audio sound is called soft copy output. some examples are moniter and speaker.

BRAINLIEST

When using design templates, these elements will be determined for you.
bullets
background
color scheme
content
title
font

Answers

Answer:

background

color scheme

font

I think thats all

Explanation:

Please give me Brainly

When using design templates, the elements that will be determined for you are color scheme and background. The correct options are b and c.

What is designing a template?

The template is creating a document that has a copy of itself. Design templates are ready-made layouts and written materials that can be altered.  For example, if you have a template of office content, then you can use it for another word document. You don't have to start from scratch.

In order to maintain consistency among users and media, templates are frequently created to adhere to certain rules or specifications. You can make new templates for later use, or utilize pre-designed templates from template libraries and websites.

Therefore, the correct options are b, background, and c, color scheme.

To learn more about template, refer to the link:

https://brainly.com/question/28193778

#SPJ2

What action demonstrates unethical behavior?
A.
working overtime
B.
completing your work ahead of time
C.
taking credit for another person’s work
D.
keeping a tab on your organization’s carbon footprint
E.
leaving office on time

Answers

Answer:

taking credit for another person’s work

Any illegal actions, such stealing or physically abusing employees, are unethical at work. Unethical behavior can be observed in a wide range of businesses and environments. Taking credit for another person’s work.

What is Unethical behavior?

When a person, a professional, or an industry acts in a way that is deemed unethical because it goes against social norms, that behavior is referred to as unethical behavior.

Politicians, businesses, professions, and individuals all have the potential to act unethically.

There are other instances of deliberate deception, but they serve as illustrations of how damaging deception can be when it is used to violate someone's rights or security.

Therefore, Any illegal actions, such stealing or physically abusing employees, are unethical at work. Unethical behavior can be observed in a wide range of businesses and environments. Taking credit for another person’s work.

To learn more about Unethical, refer to the link:

https://brainly.com/question/10174825

#SPJ2

Which item cannot be inserted into a header or footer of a document?

Answers

Answer:

All the above items can be inserted into either a header or a footer.

Please mark brainliest!

The items that cannot be inserted into a header or footer of a document is all the above items can be inserted into either a header or a footer. The correct option is d.

What is a header or footer?

A document is a type of information that can be stored electronically. Page numbers are generated automatically. Tables with columns and rows, pictures, shapes, and clipart can all be inserted into a document's header or footer. As a result, all of the items listed above can be inserted into the header or footer.

A header is text at the top of a page, whereas a footer is text at the bottom, or foot, of a page. Typically, these spaces are used to input document information such as the document's name, chapter heading, page numbers, creation date, and so on.

Therefore, the correct option is d, All the above items can be inserted into either a header or a footer.

To learn more about the header or footer, refer to the link:

https://brainly.com/question/4637255

#SPJ2

The question is incomplete. Your most probably complete question is given below:

Automatic page numbers

Tables with columns and rows

Pictures, shapes, and clipart.

All the above items can be inserted into either a header or a footer.

Before he buys a new smartphone, Tim can best use data to

evaluate which phone he should get.
convince himself he wants a phone.
discredit others’ opinions on his phone choice.
recognize problems that all phones have.

Answers

It’s A or the first one, kinda like process of elimination, the second and third one are obviously eliminated first so then it’s just between a and d. But a makes more sense as to he has to buy one either way

Answer:

A.) Evaluate which phone he should get

Explanation:

Edge2020

Which statement is true? Select 3 options.

A function must have a return value.
A function can use variables as parameters.
The definition of a function must come before where the function is used.
A function can have more than one parameter.
The definition of a function can come before or after it is used.

Answers

Answer:

A,C, AND E

Explanation:

i got it wrong for the anwser

The statements that are true are as follows:

A function must have a return value.The definition of a function must come before where the function is used.The definition of a function can come before or after it is used.

Thus, the correct options for this question are A, C, and E.

What is Function?

A Function may be defined as a kind of expression, rule, or law that significantly determines a relationship between one variable which is known independent variable and another variable which is known as the dependent variable.

Each and every function must possess a return value. Apart from variables, there are several other parameters on which functions have to be worked on. So, the definition of a function must exist prior to its utilization. However, the actual definition of function may also exist after its utilization as well.

Therefore, the correct options for this question are A, C, and E.

To learn more about Functions, refer to the link:

https://brainly.com/question/22340031

#SPJ2

what is a cloud in the world of computing

Answers

Answer:

In the simplest terms, cloud computing means storing and accessing data and programs over the internet instead of your computer's hard drive

Explanation:

Collisions occur when one output is mapped to two inputs.

A. True
B. False

Answers

Answer:

true very true very true

Answer:

False

Explanation:

I honestly just guess ngl

but i believe it's right ;0

how do you give brianliest

Answers

Answer:

When you ask a question in brainly, two helpers will answer it, then on each answerer you'll find "mark as brainliest" button which looks like a crown.

Hope this helps :)

The ideal hash function:

A. Should be unfeasible to find two inputs that map to the same output
B. Should be unfeasible to learn anything about the input from the output
C. Basically we don’t want people to figure out what was said
D. All the above

Answers

I believe the answer is A
Hope this helps

Which of the following You tubers uses the word "flip" as a curse word

A. Unspeakable
B.09Sharkboy
C. Moosecraft
D. All of the above

First correct answer get brainiest!

Answers

All of the above cause it’s fliped

girls question
who wants to go out ;p

Answers

MEEEEE PICK ME CHOOSE ME IM LONELY

Answer: I do

Explanation: *P.S.* I'm a Boy

What are some options available in the Spelling and Grammar Checker? Check all that apply.

Redo
Undo
Ignore All
Ignore Once
AutoFormat
Add to Dictionary
Readability statistics

Answers

Add to Dictionary
kase ayun yung sa tingin kong tamang sagot soo yun na nga

Answer:

ignore all

ignore once

add to dictionary

Explanation:

took the assignment on edge2020

Which search phrase is the most effective to find out about the most popular pizza chains worldwide in 2019?
A.
popular pizza chains in the world
B.
most popular AND pizza chains AND worldwide AND 2019
C.
the most popular pizzas “in the world today” AND 2019 AND chains
D.
2019 worldwide pizza chains “most popular in the world”

Answers

D I believe is correct

Answer:

D

Explanation:

What does a coder do on a daily basis?

Answers

medical charts and assinging codes

look at the picture lol

Answers

Answer:

Zoom in more please and than i can help

Explanation:

Answer:

I would go with the first blue highlighted one... but i could be wrong

i hope i helped

if i didn't... i am sorry, i tried.

What are possible challenges of cyberbullying

Answers

Answer:

so,e challenges of cyber bullying is that,it could be a random person bullying u and u won't know who it is,another challenge of cyber bullying is that they can blackmail u or pretend to be u or threaten u

Answer:

Possible challenges of cyberbullying have to do with nonbelievers, or people who do not think cyberbullying is a real problem. Technology makes it hard to stop bullies, and some people do not want to take responsibility.

How did New York Governor Hugh Carey handle Sostre’s situation?

Answers

Answer:

The governor found a way to free Sostre without assessing whether or not he was guilty or innocent of drug crime in buffalo.

Explanation:

Answer:

The governor found a way to free Sostre without assessing whether or not he was guilty or innocent of drug crime in buffalo.

Explanation:

correct on e2020 Dawg

Which function will find the difference of 15 and 3 and return 12 when the main part of your program has the following line of code?

answer = subtract(15,3)

def Subtract(numA, numB):
return numA - numB

def Subtract(numA, numB):
return numB - numA

def subtract(numA, numB):
return numA - numB

def subtract(numA, numB):
return numB - numA

Answers

Answer:def subtract(numA, numB):

   return numA - numB

Explanation:

i got the right answer but i was willing to get it wrong for the right anwser for you

The function that will find an accurate difference of 15 and 3 and return 12 when the main part of your program has the following line of code is as follows:

def subtract(numA, numB):

       return numA - numB

Thus, the correct option for this question is C.

What is the significance of the output of the program?

The significance of the output of the program is understood by the fact that it delivers some values or concepts to the user with respect to the instruction he/she is given to the computer for processing. The output of the program is very specific in nature.

According to the question, you have to assume the value of number A as 15 and number B as 3. So, when you find the difference between these numbers, you get an output of 12.

You must follow the process as follows while framing a program:

def subtract(numA, numB):

         return numA - numB

Therefore, the correct option for this question is C.

To learn more about Output of a program, refer to the link:

https://brainly.com/question/18079696

#SPJ2

Other Questions
Does tone have an effect on how we speak to each other everyday. PLEASE HELP Long Response: Please respond in 8-10 sentences.24) How did the ideas of the Industrial Revolution change Europe during the nineteenth centuryand how do those changes still impact our lives today in 2020? identify two examples of simile from the poem 9x+6+4x-2x+1-15What is the answer? What is the Iron Clad Causes about ?? Please What is the authors point of view in they story of keesh? A researcher is comparing sugar molecules that a cell takes in with amino acid molecules that the cell produces. Highlight all the statements that are true about amino acids but not true about sugars,Always contain carbon3. an input in glycolysisC.typically contain nitrogenD. can be used as an energy sourceE can bond together to form proteins If a train traveled at 50 meters within 120 seconds, what is its speed? There is a kindness that dwells deep down in things; It presides everywhere, often in the places we least expect. The world can be harsh and negative, but if we remain generous and patient, kindness will reveal itself. What do you call a female bug that floats? We are two numbers Our median is 3 Our minimum is 2, What numbers are we? PLEASE HELP, YOU'LL RECEIVE BRAINIEST IF YOU ANSWER This year Amy purchased $2,000 of equipment for use in her business.However, the machine was damaged in a traffic accident while Amy was transporting the equipment to her business.Note that because Amy did not place the equipment into service during the year, she does not claim any depreciation expense for the equipment.a. After the accident, Amy had the choice of repairing the equipment for $1,800 or selling the equipment to a junk shop for $300.Amy sold the equipment.What amount can Amy deduct for the loss of the equipment?b. After the accident, Amy repaired the equipment for $800.What amount can Amy deduct for the loss of the equipment?c. After the accident, Amy could not replace the equipment so she had the equipment repaired for $2,300.What amount can Amy deduct for the loss of the equipment? World History to 1500Spread of HinduismLook at the map. Then read each sentence and choosethe best answers from the drop-down menusHinduism started in IndiaHinduism spread to the south and eastOne country that Hinduism spread to is MalaysiaHimalayasChinaPacificOceanIndiaMyanmar(Burma)ThailandPhilippinesSri LankaMalaysiaSumatraIndianOceanIndonesiaJavaExpansion routesNwE 2x + 4y-31=123 what is the equation for x and then y Which of the following is NOT an example of active transport?(2 points)A. ExocytosisB. Protein pumpsC. EndocytosisD. Diffusion How much time will it take for a truck to travel 20 meters if it is traveling at 4 m/s? how might creole officers serving in colonial armies become a threat to Spanish rule? What does irrigation mean?? please help!!! #confused? work out the equation of a line which has a gradient of -2 and passes through the point (1 ,7)