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

Answer:

c = 1 # global variable

    jhjl jh

def add(): c = 1 # global variable

def add():

   print(c)

add()

   c = c + 2 # increment c by 2

   print(c)

add()

Explanation:

Answer 2

Answer:

for x in range(1, 16):

   print(x * 5, end=" ")

Explanation:

Hope this helps!


Related Questions

HELP ASAP!!!
Write a program that asks the p34won to enter their grade, and then prints GRADE is a fun grade. Your program should repeat these steps until the user inputs I graduated.

Sample Run
What grade are you in?: (I graduated) 1st
1st is a fun grade.
What grade are you in?: (I graduated) 3rd
3rd is a fun grade.
What grade are you in?: (I graduated) 12th
12th is a fun grade.
What grade are you in?: (I graduated) I graduated

It's in python

Answers

def func():

   while True:

       grade = input("What grade are you in?: (I graduated) ")

       if grade == "I graduated":

           return

       print("{} is a fun grade".format(grade))

func()

I hope this helps!

Which of the following BEST describes the relationship between the Boston Marathon bombing and biometrics?

Answers

Answer:

Because of the newly developed biometric technology, the FBI was able to

quickly identify two suspects.

The blurry photos released by the FBI after the bombing prompted

researchers to improve their early biometric software.

Because biometric technology was unavailable at the time, the Boston

Marathon bomber remains at large.

The Boston Marathon bombing made researchers aware of how biometric

technology is sometimes useless and ineffective.

Explanation:

According to the video, what are some qualitites Clergy need? Check all that apply.

Answers

Answer:

honesty in communication and in relationships hope it helps. :)

Explanation:

Answer:

honesty and communication in a relationship

Explanation:

hope this help and have a blessed day

NEED HELP ASAP!!!!!!!!!!

Which of the following demonstrates the difference between disk copying and disk imaging?
A) Disk copying moves the entire contents of one disk to another whereas disk imaging creates a compressed file for backup
B) Disk copying creates a compressed wile for backup whereas disk imagine moves the entire contents of one disk to another
C) Disk copying only records and stores
another disks auditory data whereas disk imaging only records and stores another disk's
VISUS data
D) Disk copying only records and stores another disks visual data whereas diskirmaging only records and stores another disk's
auditory data

Answers

Answer:

A

Disk copying moves the entire contents of one disk to another whereas disk imaging creates a compressed file for backup

Explanation:

Which is the fastest way to make many formatting changes to a range of cells?
select each cell, right-click, use the ribbon to make changes
select the range, right-click, use the ribbon to make changes
select the range, right-click, format cells, make changes
select each cell, right-click, format cells, make changes

Answers

Answer:

c 3

Explanation:

c 3

Answer:

I believe it could be C

Explanation:

Please click "Thanks" if this helped in any way! :)

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:

_________ is the primary measurement used to gauge your typing ability

Answers

Answer:

Words per minute

Explanation:

Do you guys know if there's a way for me to find a Google doc that I typed but forgot to save if you do it for points i will report please don't make me

Answers

Answer:

Usually, Google Docs save automatically. If you remember some keywords that you typed, try searching for it. For example, if you typed up a report about dogs, search "dogs" when you're on the Google Docs home screen.

Explanation:

If this doesn't help, leave a comment and I'll try to help more!

Answer:

if you remeber the name of the doc you wrote you can just search for it in google doc. google doc saves what you write so it should be in there

Explanation:

Choose all items that represent essential features of excellent navigation menu design.

uses clearly and simply labeled links

is consistently styled and located

contains a link to a site map

is intuitive and easy to use is available on all pages

in the site employs a drop-down list​

Answers

Answer:

A,B,D,E

Explanation:

Answer:

A- uses clearly and simply labeled links

B- is consistently styled and located

D- is intuitive and easy to use

E- is available on all pages in the site

Nurse Jackie is a humorous depiction of a drug-addicted nurse who struggles to balance the demands of her hectic hospital job with a string of
predicaments in her personal life. To what genre would this television series belong?
ОА
sitcom
OB
comedy
Ос.
drama
OD
dramedy

Answers

Answer:

dramedy would make since to me

Explanation:

What is the purpose of an End User License Agreement?

Answers

Answer: An End User License Agreement, or EULA for short, is a set of conditions under which a licensor gives a licensee permission to use a piece of intellectual property in the form of proprietary software. The licensor is the person or business that designed or developed the software.

Explanation:

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

Answers

Computer programming 2254518752669

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.

How do open online courses help with independent learning

Answers

Answer:

One of the most powerful benefits of online courses is that they enable students to learn at the time, place, and pace that best suits their individual learning style. ... If there is a class discussion, you can take time to gather your thoughts rather than be in a race to get the teacher's attention.

Explanation:

Answer:

you can take time to gather your thoughts

Explanation:

Which of the following is NOT a correct variable assignment?
O test = 98
Oname = "Ada"
O x = x + 1
O 5+ y = x

Answers

So the bottom ones such as x = x + 1 and 5 + y = x are incorrect because there not being initialized with any value. You can’t make a variable and say x = x + 1 without defining what x is.

Variables are simply the names given to memory location.

The incorrect variable assignment is (d) 5 + y = x

To assign a value to a variable, we make use of the following syntax:

variable = expression/value

The above syntax means that:

The variable will be on the left-hand side, while the values or the expressions will be on the right-hand side

Using the above highlights as a guide, we can conclude that:

(d) 5 + y = x is not a correct variable assignment

This is so because, it does not conform to the syntax of variable assignment

Read more about variable assignments at:

https://brainly.com/question/18522561

What refers to the way players get personally involved in a game, with the ability to influence the outcome?
ludonarrative
interactive fiction
participant observation
player agency

Answers

Answer:

player agency

Explanation:

Answer:

I think it's player agency

Explanation:

Player Agency: The player's ability to impact the story through the game design or gameplay

PLEASE ILL MARK BRAINLIEST
A ____ is a distinctive characteristic of a virus or virus family.
(this is computer stuff)

Answers

Answer:

it is a capsid

why is it important to write something in the subject line of emails?

Answers

so the person can know what you want and it helps keep better track of emails and subject matters

Answer:To provide a topic for whatever is in your email

Explanation: without something in the subject line the email will most likely be inferred as a spam.

What is the MINIMUM number of paths that would need to be broken to prevent Computing Device A from connecting with Computing Device E? a) 1 b) 2 c) 3 d) 4

Answers

Answer:

The answer is "Option c".

Explanation:

In the given question the device A is connected by 3 wires, contributing all of them, which also includes several connector paths. When all the wires of A are broken down, and if all of this leaves no routes that can be used. Even so, if it is done to E, it's also linked to four different routes. Its solution would've been C because its value will be the MINIMUM.

Answer:

c

Explanation:

What do you do when you have computer problems? Check all that apply. PLEASE HELP

Answers

Answer:

I ask my parents or call someone

Can you put the answers to the problem it would be a lot easier for me


And I would look up how to fix the problem on my own before paying someone....

PLEASE HELP!!! WILL MARK BRAINLIEST!!
Why do you think Phones/Devices have upgraded over the years

Answers

Answer:

Too improve the technology

Explanation:

Answer:

phones and other devices have been upgraded over time because technology has advanced and people have found a need for better communication as the world has evolved

___________ are representations of actual objects. a. symbols b. models c. handouts d. notecards

Answers

Answer:

Models is the answer!!!

Answer:

B. Models.

Explanation:

Got it right on the test

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

What is the difference between myList.length and myList.length - 1? When would you use myList.length? When would you use myList.length - 1?

Answers

Answer:

The difference between myList.Length and myList.length - 1 is that with the second variable, you are subtracting 1 from the total (assuming it is a integer)

Explanation:

Assuming the variable myList.Length is a integer, like for example, 4, it would be equal to 4, while myList.Length - 1 would be 3.

Under fair use laws students can use as much digital content as they want as long as it is for educational purposes

Answers

Answer:

Is this a question you need help with or is it a fact that everyone should know?

Explanation:

What involves the layering of hardware and software into a coherent computer experience?

A) PaaS

B) Cloud

C) IaaS

D) Open Systems Interconnect

Answers

Answer:

Answer is D. Open Systems Interconnext

Answer:

D open Systems Interconnect

Explanation:

Got it right on the test.

Complete answers for the test on edge 2021...

#1. a - application performance

#2. c - protocol

#3. b - virtual machines

#4. b - open systems interconnect

#5. b - post office

Got 100% on the test.

any song recommendations, pls dont say 6ix9ine or lil pump

Answers

I actually do have one tho. Try Megan Tha Stallion.

Answer:

smash mouth "all star" is my fave or Imagine Dragons "Whatever it Takes"

Explanation:

Which of the following is an example of gameplay in a video game
A: the art of a game

B: the player interacting with the game world and game mechanics

C: the personalities of all the characters

D:all of the above

Answers

Answer:

the correct answer is B. the player interacting with the game world and game mechanics

Rayna wants to create an organizational chart in her document. Which of the following commands should she click in the Illustrations group?

Chart

Media

Screenshot

SmartArt

Answers

CHART
that’s my answer

Answer: Your real answer is SmartArt

Explanation:

Please Help!

Choose all items that are characteristics of placing nested elements on a new line, using indentation.


A) makes HTML errors difficult to find

B) not required by a web browser

C) can cause web page display errors

D) makes HTML analysis and repair easier

E) done automatically by HTML authoring software

Answers

Answer:

Its B,D,E

Explanation:

Got it right on e2020

Answer:

B). not required by a web browser

D). makes HTML analysis and repair easier

E). done automatically by HTML authoring software

Btw cause this class can be a pain here are the answers to the rest of the assignment.

Slide 7/12:

The missing element is

C). <p></p>

Slide 9/12:

The missing tag is:

B). an end (closing) a tag

Slide 12/12:

The missing character is

D). an angle bracket

Explanation:

I just did the Part 3 on EDGE2022 and it's 200% correct!

Also, heart and rate if you found this answer helpful!! :) (P.S It makes me feel good to know I helped someone today!!)

Other Questions
There are 70 fisherman and 5 sea bass in the lake. Are sea bass considered a limiting factor? PATTYCAKE PATTYCAKE PASTAMAN, GIMME PASTA POWER AS FAST AS U CAN What percent of your body weight does muscle make up? PLEASEEE HELP FAST 1. During which parts of the graph does Arthurs distance from home decrease? 2. When is Arthur waiting for bagels? Explain how you know. 3. If Arthurs pace had not been constant after leaving the bagel shop, which part of the graph would change? Explain how that part of the graph would change. Which component of owners equity does the situation below indicate? Owners equity includes , ______ which is the amount of profits that your business has been able to save over the past few years. Can someone help me please Two words that would describe the Federalists are... Last year, 120 students were sick at school. This year, 20% fewer students are sick. How many students are sick this year? Are the demographics of our congressional branch central to the development of policies that shape the social political construct of the United States? How and why? Which best represents the greatest amount of change that took place from one day to the next day over the four-day period? plato banned certain songs because he don't approve of the instruments that were used Round 985, 932 to the nearest thousand. identiy why trade improved during the middleages.this is the question. b. What will happen to a red blood cell placed in a solution of 10% salt? The Indians held ____ women and children captive in the Blue Mountains for ransom before eventually being released.255360100 Who are the mountain men?1.settlers2.independent trappers3.guides4.business leaders. is 10 a rational number or irrational number Will mark brainliest 2. Lolo Delfin's ancestral house is burning. When the wind blows hard, fireincreases rapidly. Why?O A. presence of fire extinguisherO B. the use of water to stop the fireO C. lack of oxygenO D. presence of oxygen -Which directions from china do you think it was easiest For the Chinese to make contact with other people and why?(ILL MARK AS BRANLIEST)-$63 POINTS!!-PLZ IM DESPERATE!!