Write a program that get
the age of 50 people and
display the number of
people that fall under:
1. Baby : 0-5
2. Kids and teenagers: 6-17
3. Adults : 18 and over

Answers

Answer 1

Answer:

people = list(map(int, input().split()))  # gets input and makes them into an integer

for i in range(len(people)):

   if 0 <= people[i] <= 5:

       print('Baby')  # You didn't specify how you want to 'store' the info, but I'm just going to print it out

   elif 6 <= people[i] <= 17:

       print('Teen')

   elif 18 <= people[i]:

       print('Adults')

Explanation:

This is the basic structure of the code. This is written in Python 3x. If you are writing in a different language, then just use the template given to you!


Related Questions

2) Write down the values ​​for the hue, saturation, and intensity of the red color.

Answers

Answer:

can anyone help me in computer please

#2 i
Write -0.312 as a fraction in simplest form.
-0.312 =
-
What’s the answer

Answers

Answer: 39/125

Explanation:

These operating systems were referred to as command-based.

Android and MS-DOS
iOS and Windows
LINUX and UNIX
MS-DOS and UNIX

Answers

[tex]{\underline{\boxed{\bf{MS - DOS \: and \: UNIX}}}}[/tex]

It is Linux and Unix!

Question 5 / 15
What does clicking and dragging the fill handle indicated by the cursor below do?
077
Х
✓ fx
=0.08*B77
B.
с
76
Sales
Tax
77
$794
$64
78
$721
79
$854
80
$912
81
$1,020

Answers

Answer:

$1,020 that is my answer because it will be that one

The value that would be returned based on the formula [=COUNTIF(A43:A47, "NP*")] in cell A49 is 4.

Microsoft Excel can be defined as a software application that is designed and developed by Microsoft Inc., so as to avail its end users the ability to analyze and visualize spreadsheet documents.

In Microsoft Excel, there are different types of functions (predefined formulas) and these include:

Sum functionAverage functionMinimum functionMaximum functionCount function

A count function is typically used to to calculate the number of entries in a cell or number field that meets a specific (predefined) value set by an end user.

In this scenario, "NP*" is the specific (predefined) value that was set and as such the value that would be returned based on the formula in cell A49 is 4 because A43, A44, A45 and A46 contain the value "NP."

Read more on Excel formula here: https://brainly.com/question/25219289

name of the people associated with the development of computer briefly explain thier contribute

Answers

Snsnsnnsnsnsnsjsmsns

How to write a C++ program that allows a user to enter their rating of the three movies in the Dark Knight Trilogy and then display each rating entered, the highest rating, the lowest rating, and the average of the ratings??

Answers

The program is an illustration of arrays.

Arrays are used to hold multiple values in one variable.

The program in C++ where comments are used to explain each line is as follows:

#include <iostream>

using namespace std;

int main(){

   //This declares an array of three elements for the three ratings

   int ratings[3];

   //This initializes the sum of the ratings to 0

   int total = 0;

   //The following iteration gets input for the three ratings

   for(int i = 0; i<3;i++){

       cin>>ratings[i];

       //This calculates the sum of all inputs

       total+=ratings[i];

   }

   //This declares and initializes the lowest and the highest ratings

   int lowest = ratings[0], highest = ratings[0];

   //This iterates through the array

   for(int i = 1; i<3;i++){

       //The following if condition determines the lowest rating

       if (lowest > ratings[i]){    lowest = ratings[i];        }

       //The following if condition determines the highest rating

       if (highest < ratings[i]){            highest = ratings[i];        }

   }

   //This prints the output header

   cout<<"The ratings are: ";

   //The following iteration prints the three ratings

   for(int i = 0; i<3;i++){

       cout<<ratings[i]<<" ";   }

   //The prints the highest ratings

cout<<endl<<"Highest: "<<highest<<endl;

   //The prints the lowest rating

   cout<<"Lowest: "<<lowest<<endl;

   //The prints the average rating

cout<<"Average: "<<total/3<<endl;

   return 0;

}

At the end of the program, the ratings entered, the highest rating, the lowest rating, and the average of the ratings are printed.

See attachment for sample run

Read more about similar programs at:

https://brainly.com/question/13261254

When working with a shared worksheet, how do you know it's shared?
The word "Shared is saved in the name of the file.
The email in which you received the file says "Shared."
The word "Shared" appears after the workbook title in the title bar.
The word "Shared" appears at the bottom next to the worksheet tabs.

Answers

Answer:

The Word shared appers in the email and appears next to the worksheet tab

Explanation:

Hope this answers your question :)

Answer:

C

Explanation:

hope this helps :)

Please please help I don’t understand this

Answers

Answer:

It is this because yass

Explanation:

And yes

Answer:

Yes it is this because yes

Explanation:it is this because

QUESTION 8
A
is a vertical group of cells in a worksheet.
Column
Row
Value
Formula

Answers

I believe that the answer is column.

8. This machine is used for high speed, high volume printing l. Can print about 1000 papers at one point in time.

A) Scanner
B) Printer
C) Risograph
D) Photocopier

Answers

Answer:

Risographs can produce up to typically 150 pages per minute. So I'm guessing its c.

Explanation:

What agencies are in-charge of implementing the intellectual property code?

Answers

Answer:

List of Government Agencies in-charge of implementing the IPC: - Bureau of Patents. - Bureau of Trademarks. - Bureau of Legal Affairs.

Explanation:

Your answer → - Bureau of Patents -

A team member who feels uncomfortable when disagreeing with another team member is likely from a(n) _______(fill in the blank) culture.
competetive
individualistic
collectivistic

Answers

collectivistic culture

A team member who feels uncomfortable when disagreeing with another team member is likely from a collectivistic culture.

What is a collectivistic culture?

Personal identity is the element in a collectivist culture where ties between persons and relationships with other group members are crucial.

People who are kind, helpful, trustworthy, and considerate of others are viewed favorably in collectivist cultures.

While individualism emphasizes the importance of each person's rights and interests, collectivism emphasizes the value of the group. Individualism places a strong importance on independence and self-identity, whereas collectivism places a high value on togetherness and selflessness.

Therefore, the correct option is c, collectivistic culture.

To learn more about collectivistic culture, refer to the link:

https://brainly.com/question/10230027

#SPJ2


Name the five automated information systems - The Vendors

Answers

Answer:

The computer age introduced a new element to businesses, universities, and a multitude of other organizations: a set of components called the information system, which deals with collecting and organizing data and information.

An information system is described as having five components.

1- Computer hardware. This is the physical technology that works with information.

2- Computer software. The hardware needs to know what to do, and that is the role of software.

3- Telecommunications.

4- Databases and data warehouses.

5- Human resources and procedures.

Explanation:

Computer hardware

This is the physical technology that works with information. Hardware can be as small as a smartphone that fits in a pocket or as large as a supercomputer that fills a building. Hardware also includes the peripheral devices that work with computers, such as keyboards, external disk drives, and routers. With the rise of the Internet of things, in which anything from home appliances to cars to clothes will be able to receive and transmit data, sensors that interact with computers are permeating the human environment.

Computer software

The hardware needs to know what to do, and that is the role of software. Software can be divided into two types: system software and application software. The primary piece of system software is the operating system, such as Windows or iOS, which manages the hardware’s operation. Application software is designed for specific tasks, such as handling a spreadsheet, creating a document, or designing a Web page.

Telecommunications

This component connects the hardware together to form a network. Connections can be through wires, such as Ethernet cables or fibre optics, or wireless, such as through Wi-Fi. A network can be designed to tie together computers in a specific area, such as an office or a school, through a local area network (LAN). If computers are more dispersed, the network is called a wide area network (WAN). The Internet itself can be considered a network of networks.

Databases and data warehouses

This component is where the “material” that the other components work with resides. A database is a place where data is collected and from which it can be retrieved by querying it using one or more specific criteria. A data warehouse contains all of the data in whatever form that an organization needs. Databases and data warehouses have assumed even greater importance in information systems with the emergence of “big data,” a term for the truly massive amounts of data that can be collected and analyzed.

Human resources and procedures

The final, and possibly most important, component of information systems is the human element: the people that are needed to run the system and the procedures they follow so that the knowledge in the huge databases and data warehouses can be turned into learning that can interpret what has happened in the past and guide future action.

Explain how AI smartphone software in the rental car can be a threat to privacy.



Answer and I will give you brainiliest ​

Answers

Answer:

The real reason why AI smartphone software in the rental car is threat to privacy is that the data transmitted can actually be exposed to security breaches in the software and so if that happens, the car is no longer under the control of the user.

Hope this helps!

What refers to the images of characters you use in a game?

Answers

Answer:

the character image in the game

LANGUAGE IS PYTHON PLEASE HELP.

Write a while loop that repeats while user_num ≥ 1. In each loop iteration, divide user_num by 2, then print user_num.

Sample output with input: 20
10.0
5.0
2.5
1.25
0.625

Answers

10.0 + 5.0 + 2.5 = 17

Explain what is the difference between a "Mode Switch" and a "Process Switch".

Answers

Answer:

The main difference between mode switch and process switch is that mode switch changes the process privilege between modes like user mode and kernel mode while process switch changes the process state between different states. These processes then load into the main memory for the CPU to execute them.

Explanation:

which is NOT a basic human sense used in collecting collecting data?

Answers

Answer:

Explanation:This section outlines some of the key considerations that may arise during various steps in the data collection process. There is no requirement that these steps be followed or pursued in the order that they are written. The model presented is offered as a reference tool. How data is gathered and analyzed depends on many factors, including the context, the issue that needs to be monitored, the purpose of the data collection, and the nature and size of the organization.

which of the following statements describes the general idea of an assistive media​

Pasagot po plssss

Answers

Answer:

What statmentssssssssss

The general idea of assistive media is described by C) Technology or tools designed to aid individuals with disabilities in accessing information and interacting with the world.

We have,

Assistive media refers to various technologies or tools that are specifically developed to assist people with disabilities.

These tools are designed to enhance their ability to access information, communicate effectively, and interact with their environment.

Assistive media can take many forms, such as screen readers for individuals with visual impairments, communication devices for those with speech disabilities, adaptive keyboards or switches for individuals with motor impairments, and more.

The main purpose of assistive media is to level the playing field and provide individuals with disabilities the means to participate fully in various aspects of life, including education, communication, work, and social interactions.

Thus,

The general idea of assistive media is described by C) Technology or tools designed to aid individuals with disabilities in accessing information and interacting with the world.

Learn more about assistive media here:

https://brainly.com/question/29891210

#SPJ3

The complete question:

Which of the following best describes the concept of assistive media?

A) A form of social media that helps people connect with friends and family.

B) A type of entertainment media, such as movies or music.

C) Technology or tools designed to aid individuals with disabilities in accessing information and interacting with the world.

D) Media coverage of events and news happening globally.

What do Virtually all of the 7 million millionaires in the United States do??
Virtually all of the 7 million millionaires in the United States:

never had to think about tomorrow, since they knew they would be rich.

were always thinking ahead.

wanted their money to work for them.

wanted to store their money under the bed.

were looking forward to buying a lot of nice toys.

assumed all sellers were telling the truth.

learned how to make smart decisions by doing their homework.

always paid their cell phone first.

always paid themselves first.

Answers

It is assumed by a lot of people that the life of the people who are very rich is very easy and that they do not have to work so hard. People think that the rich people have always had a bed of roses kind a life for them. But that is not the reality. Rich people also have to work hard to get success in their life and for that they have to think properly and wisely before making decisions in their life. These people have to make a lot of research and do a lot of home work before making decisions and have to think a lot. It is not very easy for them also.

Option 7 is the most apt

but if there can be multiple options, then it would be 2,3,7 and 9

Many people believe that the lives of the wealthy are easy and also that they do not have to work as hard as the rest of us.

7 million millionaires in the United States:

People believe that the lives of the wealthy has always been a bed of roses.

However, this is not the case. Rich individuals must also work hard in order to achieve success in life, and they must think carefully and sensibly before making decisions.

Before making judgments, these folks must conduct extensive study and complete extensive homework, as well as reflect deeply. It's not easy for them either.

So, option '7' is the correct answer to the following question.

Find out more information about 'Judgments'.

https://brainly.com/question/26380040?referrer=searchResults

F
Х
Which is a feature of fairy tales in "A Modern Cinderella"?
O A. It begins with "Once Upon a Time."
O B. It includes pictures.
O C. It has a humorous tone.
Is it a b c or d that’s what I’m loo

Answers

Answer:

everything

A.

B.

C.

NOOO.

What type of device is OMR input or Output

Answers

Answer

input

Explanation:

modern ones are now input

What type of classroom enable students to attend lectures without being physically present with the teacher?

Answers

The answer is online learning since the virus happens alot of schools have been swtiching to online learning. It doesn't require anyone to be pychically present in class and there alot of platforms to do online learning.

Please help me with these questions please

Answers

Answer:

The answer is 20, if this helps you please give the brainliest award.

PYTHON: Define a function calc_pyramid_volume() with parameters base_length, base_width, and pyramid_height, that returns the volume of a pyramid with a rectangular base. calc_pyramid_volume() calls the given calc_base_area() function in the calculation.

Relevant geometry equations:
Volume = base area x height x 1/3
(Watch out for integer division).

Sample output with inputs: 4.5 2.1 3.0
Volume for 4.5, 2.1, 3.0 is: 9.45

def calc_base_area(base_length, base_width):
return base_length * base_width

''' Your solution goes here '''

length = float(input())
width = float(input())
height = float(input())
print('Volume for', length, width, height, "is:", calc_pyramid_volume(length, width, height))

I've been trying all morning but I can't seem to figure this one out. I might be overthinking it, but I haven't been able to get it to work.

Answers

Answer:

def calc_pyramid_volume(base_length,base_width,pyramid_height):

   base_area=base_length*base_width

   volume=base_area*pyramid_height*(1/3)

   return volume

Explanation:

Here you go, fellow cs 105 student. Copy and paste it all into the box.

What is one still image in a film or video called?
unit
frame
stand
selection

Answers

Answer:

frame

Explanation:

the answer is frame ;)

Answer:

Frame

A still frame is a single static image taken from a film or video, which are kinetic (moving) images. Still frames are also called freeze frame, video prompt, preview or misleadingly thumbnail, keyframe, poster frame, or screen shot/grab/capture/dump

Explanation:

Pls mark as brainliest

Give one of user responsibility of the internet you should follow in cyberethics.






**Answer and I will give you brainiliest**​

Answers

Answer:

One of the user responsibility is to use appropriate language when talking to others, mind you behavior and make sure to stay out of trouble, like hacking someone computer without permission and never send any malware to anyone without consent of the user.

Project light with a system of lenses used for projecting slides or film into a screen.

Answers

Answer:

Optical system. An overhead projector works on the same principle as a slide projector, in which a focusing lens projects light from an illuminated slide onto a projection screen where a real image is formed.

Explanation:

did y’all enjoyed project next phase 3 and The 4 revamped heroes

Answers

Answer:

it was good i liked it

Explanation very good

BRIANLIEST!!!!!!!!!!!!!!!!


Which of the following types of indents shown in the image?

○ Hanging indent
○ Right indent
○ First Line indent
○ Decrease indent​

Answers

The First Line indent is shown in the image. Thus, option C is correct.

What is an indent?

An indent is a spacing that results from spacing a block of information farther inside than just the surrounding content. To the right of the start of the following line, an indentation for the inaugural line appears. Many parts must follow first-line spacing according to APA standards.

The very first sentence about a partnership that follows a headline or chapter title is not indented, as was mentioned in the previous section.

The tab key on just about any keyboard automatically indent each sentence that comes after it for you. The different layout is occasionally recommended for specific sorts of writing, including research publications and internal memos. Therefore, option C is the correct option.

Learn more about indent, here:

https://brainly.com/question/12090649

#SPJ6

Other Questions
Can someone who is kind enough help me with this please...I'll mark the brainliest...Or can you just describe the house so i vividly picture it... Pablo has had his model bridge approved and is now able to start construction on it.The model is 2 feet and 3 inches tall. If the scale for the actual bridge is 1 inch = 3 feet, how tall will his cover bridge be? F(x)=-x^2+8x-2 what is the range of the function? so im like almost 100% sure I have a jammed toe.... so:1.) how long will it take to heal2.) I already put ice on it, and its not worth it to go to the doctor, so3.) what do I do now? help me pls due today Match each sentence part to the question it answers.According to a report in The New York Times, Dr. Bjorkbelieves that we unconsciously connect what we are studyingwith details from our surroundings such as wall colors orbackground noisesWhich part includes themain subject and action??DWhich part tells where theinformation came from??Which part provides anexample?? Although there was a committee created to write the Declaration, Thomas Jefferson did almost all of the actual writing of the document. HELP I NEED HELP ASAP HELP I NEED HELP ASAP HELP I NEED HELP ASAP HELP I NEED HELP ASAP HELP I NEED HELP ASAP HELP I NEED HELP ASAP Which of these expressions is equivalent to 2(x5) ?Multiple choice question.A)2x5 B)2x+5 C)2x+10 D)2x10Plzs Help I give someone a brainliest someone wanna give me a skin in fornite at Emily_mari90 Then the people commenced rushing up from San Francisco and other parts of California, in May, 1848. . . From this time on I got only too many neighbors, and some very bad ones among them.What a great misfortune was this sudden gold discovery for me! It has just broken up and ruined my hard, restless, and industrious labors, connected with many dangers of life, as I had many narrow escapes before I became properly established.From my mill buildings I reaped no benefit whatever, the mill stones even have been stolen and sold.John A. Sutter, Hutchings California Magazine, November 1857Using the information in the passage, what can be concluded about the discovery of gold in California in 1848? A. Many people became wealthy by staking claims for gold mines. B. There were many benefits because of the discovery of gold. C. Negative consequences were limited to a few wealthy landowners. D. There were many negative consequences for some people. The following graph shows a proportional relationshipWhat is the constant of proportionality between y and z in the graph?y65-43+2+1+6Constant of proportionality= Dominic recorded the favorite food of students in his class in the table. Based on the results of his survey, what is the experimental probability that next student will respond with pizza or steak? What is one of the authors purposes in writing "The Thirsty Tree"?to show the futility of attempting to control the invasive salt cedar trees in the American Southwestto show that the salt cedar tree is the most important of all trees now in the American Southwest landscapeto examine the history of environmental management in the American Southwest by focusing on the much-maligned salt cedar treeto question the value of various interventions used to control the salt cedar tree in the American Southwest What group believed in a seperate Black America & Black Economic?A. Nation of IslamB. Southern Christian Leadership C. Congress of Racial Equality D. Students for a Democratic Society which expression is equivalent to 30x + 15y Group of answer choices5(6x + 15y)x(30 +15y)3(10x + 5y)2(28x+13y) Why do injuries in the hand and fingers bothers the athletes so much? What kind of activities during daily would be bothered by an injury to the hand and fingers? Give me fours examples? find two numbers that multiply to be 12 and add to be -13 Most animals develop from what embryonic tissues? Select all that apply. What is the importance of culture