(Python coding)4.3 Code Practice: Question 2
instructions:
Write a program that uses a while loop to calculate and print the multiples of 3 from 3 to 21. Your program should print each number on a separate line.

Expected Output:
3
6
9
12
15
18
21

Answers

Answer 1

Answer:

i = 3

while i <= 21:

   print(i)

   i+=3

Explanation:

First, we will declare i as 3 because otherwise Python will yell at you and say there is no variable with i, we set it to 3 because we will print then increment in the while loop instead of increment then print

Next the while loop, it will go until i is less than or equal to 21 to print from 3 to 21

Then we will print i as an output. The print command will print each number on a separate line

After that we will increment i by 3 to find the next multiple of 3

This solution will print the following:

3

6

9

12

15

18

21


Related Questions

Which type of document would be best created in Word?
Animation
Newsletter
Presentation
Spreadsheel​

Answers

Answer:

it would be Animation I declare

Reports and logs generated by forensic tools are typically in text format, word processing, spreadsheet, or ____ format.Reports and logs generated by forensic tools are typically in text format, word processing, spreadsheet, o

Answers

Answer:

Reports and logs generated by forensic tools are typically in text format, word processing, spreadsheet, or ____ format.

✓ HTML

Explanation:

Abby has received a request for a data set of actual data for testing a new app that is being developed. She does not want the sensitive elements of the data to be exposed. What technology should she use

Answers

Q:

Abby has received a request for a data set of actual data for testing a new app that is being developed. She does not want the sensitive elements of the data to be exposed. What technology should she use?

A:

Masking

A slide contains two objects with animations applied. The first object animates when you advance the slide show. You want the second object to animate automatically after the animation of the first object finishes. Which start option should you apply to the animation of the second object

Answers

Answer:

add a delay of five seconds to the animation applied to the second object.

Explanation:

A slide contains two objects with animations applied. The first object animates when you advance the slide show. The second object animates automatically after the animation of the first object finishes. if you want the animation of the second objec…

✓ add a delay of five seconds to the animation applied to the second object.

With what software tool can you see the applications.

Answers

Answer:

Microsoft Windows Task Manager

Explanation:

salamat po

the simple mixture of flour and water​

Answers

Answer:

Batter is a simple mixture of flour and water is used to make crepes and pancakes. It is also used to coat fruit for fritters.

If a program needs to respond to what the user inputs by printing one of three different statements, what will the program require? Group of answer choices database random number generator decision generator conditional statement

Answers

Answer:

B

Explanation:

Answer:

Answer B: random number generator

Explanation:

Computer programming is the process that professionals use to write code that instructs how a computer, application or software program performs. At its most basic, computer programming is a set of instructions to facilitate specific actions. If you're wondering what a computer programmer is, it's a professional that creates instructions for a computer to execute by writing and testing code that enables applications and software programs to operate successfully.

how do you know that a song is included speed

Answers

Answer:

the tempo determines the performance speed of the music. So when you count how many beats are in one minute of a song played at a specific tempo, you can quickly determine the Beats Per Minute or BPM. And if you're pressed for time, count the beats in 15 seconds of music, and then multiply that number by 4.

Explanation:

marks as an brilliant

______ is a written agreement, signed by people that outlines the terms and conditions of internet use.

Answers

Answer:

Terms and Conditions is a written agreement, signed by people that outlines the terms and conditions of internet use.

Explanation:

Because the clients and the server perform different functions and can run two different operating systems, there is an arrangement of client/server architecture known as ____.

Answers

Answer:

✓ two-tier architecture

Explanation:

Because the clients and the server perform different functions and can run two different operating systems, there is an arrangement of client/server architecture known as ____.

✓ two-tier architecture

What data type is this statement defined as in Python?
testAvg = 0.00;

A. integer
B. string
C. float
D. real

Answers

String because in python a succession of Unicode characters is called a string. Unicode was created to encompass all characters in all languages and bring encoding standardization.

What is python?

Python is a programming language for creating websites and software, as well as automating processes and conducting data analysis.

Python is a general-purpose programming language, which means it can be used to develop a wide range of applications and isn't tailored to any particular problem.

Thus, option B is correct.

For more details about python, click here

https://brainly.com/question/13441316

#SPJ1

State how to transfer information from website to web processing document.​

Answers

Answer:

This is typically done either by downloading or by copying and pasting.

Explanation:

Which of these sentences correctly shows how youngsters use the Internet?
A.
Youngsters listen to FM radio programs on the Internet.
B.
Youngsters exchange emails with business organizations.
C.
Youngsters plan their study time and read textbooks online.
D.
Youngsters interact with each other with the help of the Internet.

Answers

Answer:

D

Explanation:

This is the only possible answer lol please give brainliest and good luck :)

Select the correct answer. What is the advantage of an online database? A. requires many hardware components B. increases costs C. saves money D. no technical problems

Answers

Answer:

C saves money

Explanation:

The only one that is an advatage is C        A and B are not advantages and  D is not true

Using the code to the right, which best describes the piece of code labeled my_graphic?

Answers

Answer:

a property

Explanation:

A JavaScript property is a characteristic of an object, often describing attributes associated with a data structure. There are two kinds of properties: Instance properties hold data that are specific to a given object instance. Static properties hold data that are shared among all object instances

What are the qualities of strong leaders? Check all that apply. They inspire others. 1)They are easily influenced by others. 2)They are outstanding role models. 3)They have a strong sense of purpose. 4)They lack self-confidence.

Answers

Answer: 2 and 3
Explanation:

I would pick 2 and 3 based on process of elimination

Click this link to view O*NET’s Skills section for Helpers—Production Workers. Note that common skills are listed toward the top and less common skills are listed toward the bottom. According to O*NET, which common skills are needed by Helpers—Production Workers? Select two options.

active listening
science
critical thinking
installation
technology design
management of financial resources

Answers

Answer: What are common skills needed by Graphic Designers? Select four (4) options.

1- speaking 2- active listening 4- operations analysis 5- writing

Explanation: If this didn't work I'm sorry but it is what it has shown me have a good day, love.

Answer:

it's active listening and critical thinking

Explanation:

it just took it and i got it right

Computer Vision and Industrial Robots
Consider an industrial robot performing several tasks in an assembly line. Such machines perform a single task with great speed and efficiency. Conduct research on the Internet and list what you feel would be its main components if computer vision was implemented. Ask yourself what are the advantages of adding a computer vision system to this robot. Which robot do you expect better performance from, a robot with computer vision or robot without computer vision.

Answers

Answer:

View Computer Vision Unit Activity.docx from COMPUTER SCIENCE 101 at Edoptions High School. Consider an industrial robot performing several tasks in an assembly line.Machine Vision in industrial applications. Robots working in industrial applications need visual feedback. This is used to navigate, identify parts, collaborate with humans and fuse visua

Explanation:

Many industries are feeling the effects of skilled labor shortages. At the same time, companies are reluctant to invest heavily in training and developing unskilled employees, for fear of losing them afterward through defection to competitors. With no end in sight to the workforce shortfall, the appeal of robots as an efficient supplement, and even replacement, for human labor is continuing to grow.

The cost of robotics is generally falling, and alternative business models like robotics-as-a-service (RaaS) make industrial robots accessible even to companies that don’t have substantial capital budgets to exploit. The affordability of the units themselves, along with the fact that programming is becoming more straightforward and hence less costly, is also boosting the appeal of industrial robotics adoption.

Answer:if u still need help i can help you

Explanation:

Convert the binary expansion of each of these integers to a decimal expansion. A) (1 1111)2 b) (10 0000 0001)2 c) (1 0101 0101)2 d) (110 1001 0001 0000)2

Answers

Step 3: Double the total and add the next leftmost digit. Repeat this until you run out of digits. Step 4: The result you get after adding the last digit to the previous doubled total is the decimal

Kya has finished creating her company's annual budget. Before presenting it to her colleagues, she adjusts the margin widths and changes the
font size and color. The changes that she has made are examples of:

O A formatting
OB. editing.
OC publishing.
OD. networking

Answers

Answer:

B. Editing

Explanation:

She is changing the finished product into something different

you are presenting with two monitors. which view displays a preview of the next slide and speaker notes on the second monitor?

Answers

the preview would be constructed by putting the next slide monitor on the left and the speaker notes on the name of the dominant hand… the right.

write the uses of computer in the field of education

Answers

Answer:

Storage of information.

Quick data processing.

Audio-visual aids in teaching.

Better presentation of information.

Access to the Internet.

Quick communication between students, teachers and parents.

You need to design a network that supports 275 hosts. You want to place all hosts in a single broadcast domain, and you want to make sure you do not waste IP addresses. How should you implement your plan

Answers

Answer:

Place all hosts on the same subnet. Use a mask of 255.255.240.0.

Explanation:

You need to design a network that supports 275 hosts. You want to place all hosts in a single broadcast domain, and you want to make sure you do not waste IP addresses. How should you implement your plan?

✓ Place all hosts on the same subnet. Use a mask of 255.255.240.0.

Which of the following statements best describes the future of mass media?
O We will always need mass media, but because of social media, we will rely on it less.
O Although we still need it now, we will one day no longer need mass media because of social media.
o We no longer need mass media at this point in our culture because of our use of social media.
O It is likely that we will always need mass media, because social media cannot last.

Answers

The option that best describes the future of mass media is We will always need mass media, but because of social media, we will rely on it less.

What is the growth of mass media like?

The use of the mass media in recent times is one that is known to be   growing rapidly in terms of  the kinds of electronic media forms used, the number of TV stations and others. ,

Conclusively, The option that best describes the future of mass media is We will always need mass media, but because of social media, we will rely on it less because the use of social media may outweigh the use of mass media.

Learn more about mass media from

https://brainly.com/question/26152499

#SPJ1

Answer:

A.) We will always need mass media, but because of social media, we will rely on it less

Mass media refers to forms of communication that reach large audiences, such as television, radio, newspapers, and magazines. While social media has certainly had an impact on the way people consume information and connect with others, it is unlikely that mass media will become obsolete. However, it is likely that people will rely on mass media less as they increasingly turn to social media and other online sources for information and entertainment.

That being said, mass media still holds an important role in our society, providing us with news, entertainment, and other forms of information. As such, it is likely that mass media will continue to evolve and adapt to changing technologies and social trends in the future.

Darian is preparing for a presentation about the poor condition of the locker rooms at school. Match each of the key components of a presentation to a detail of Darian's presentation. audience to persuade the school board to improve locker-room condition purpose Darian's school board locker-room condition topic a electronic slideshow method can anyone ​

Answers

Answer:

Purpose - To paurswade the board to change the conditions of the locker room

Topic - Locker room condition

Method - Electronic Slideshow

Audience - School Board

A small publishing company has a network design such that when a broadcast is sent on the lan, 200 devices receive the transmitted broadcast. how can the network administrator reduce the number of devices that receive broadcast traffic?

Answers

The network administrator reduce the number of devices that receive broadcast traffic  and Segment the LAN into smaller LANs and route between them.

What is this segmentation about?

By segmenting the one big network into a smaller network, the network administrator is one that has developed two smaller broadcast domains.

Therefore, in the scenario above, The network administrator reduce the number of devices that receive broadcast traffic  and Segment the LAN into smaller LANs and route between them.

Learn more about  network administrator from

https://brainly.com/question/20424057

#SPJ1

How is a secure HTTP (HTTPS) different from a non-secured HTTP?
Secure HTTP is armed with a proxy service that inspects any incoming data.
O Secure HTTP is armed with a series of firewalls to protect it from potentially unsafe files.
O Secure HTTP is armed with passwords to ensure that only authorized users gain entry.
Secure HTTP is armed with secure socket layers to create another layer of security

Answers

Answer:

the second last option

Explanation:

secure HTTP is armed with passwords to ensure that only authorised users gain entry.

the data is encrypted during transmission

A file can be safed with a different file name then it currently has by clicking on save ? in the file tab

Answers

Answer:

Click the File tab. Click Save As. Choose a file location, such as OneDrive or This PC to store your file.

Explanation:

click the File tab. Click Save As. Choose a file location, such as OneDrive or This PC to store your file. In the File name box, enter a new name for the file. In the Save as type list, click the file

Suppose that you set the application-level environment setting for the current workspace to store all your data in the same geodatabase. However, you want the outputs for one of the models to be stored in another geodatabase. What is the most efficient way to do it

Answers

Q:

Suppose that you set the application-level environment setting for current workspace in the geoprocessing options to store all your data in the same geodatabase, but you want the outp…

A:

Set a model-level environment setting for the workspace because it will override the application level.

Which term refers to the use of the internet at work for personal use?.

Answers

Which term refers to the use of the Internet at work for personal use? cyberloafing.Cyberloafing is a term used to describe the actions of employees who use their Internet access at work for personal use while pretending to do legitimate work.

Other Questions
You start at (7, 8). you move left 3 units and right 3 units. where do you end? the question is in the picture i'll brainliest immediately who can answer it properlyyou may take your time. thank you. find the slop of the line passing through the point (-9,-3) and (7, -7) Samantha believes in interference theory. What does she MOST likely believe? A. Past information can get in the way of learning new things. B. People are always able to access any of their past memories. C. There are no strategies that will help people better retrieve memories. D. There is no difference between understanding and remembering. Complete the conversation with the correct form of the preterite or imperfect tense of the verbs in parentheses. use the graph to answer the question How many different lines can be drawn if each line contains at least two of these points?BADC Should the Chicago 7 have been put on trial for inciting riots or did they have the right to protest? Explain. I will mark brainliest Answer this question to get 10 pts! A quantity x varies directly with y and inversely with z. Which expression represents the constant of variation, k? StartFraction x z Over y EndFraction StartFraction x y Over z EndFraction StartFraction z Over x y EndFraction StartFraction y Over x z EndFraction 4m^(3)+10m^(2)-84mSolve by factoring. PLEASE HURRY In at least 150 words, explain how Fugard uses Sam's character to convey the central idea of "Master Harold" . . . and the Boys. Be sure to include transitional words in your response. Use details from the play to support your response. What are vegetable oils that have been hydrogenated Solve the system of equations by substitution Why did people want to postpone the election of 1864?The Union army was not winningIt was hard to coordinate it during warLincoln wanted to stay president longerThey were worried the Confederacy would cheat ______occurs so plants can make _________to use for energy Is planting a vegetable garden a procedural or declarative knowledge? A boys height is 133 cm at the end of a year. His height increased by 5%. Find the height at thebeginning of the year. how did the tax system work under the yuan dynasty