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


What important role is being described?
Completes the Action Item form.

Answers

Answer:

A sponsor is a member of congress who is willing to introduce and back the legislation. Explanation:

What actions does Kareem need to take to change the timing of an animation in one
of his presentation slides?
a) Change the order of the animation for the slide.
b) Change the type of animation for the slide.
c) Change the delay and duration for the slide.
d) Change the trigger for the slide.

Answers

What Kareem needs to do to change the timing of animation is change the delay and duration for the slide.

A typical Presentation slide helps to keep an audience's attention during a presentation and as well provide additional supporting information.

A presentation slides entails the use of text, images, artworks, aesigns, animation to facilitate a smart slide for proper presentation.

Animation basically move on the slides and are timed/programmed to move in a specific time or direction.

Therefore, in conclusion, Option C is correct. All Kareem have to do to change the timing of an animation in the slide is changing the delay and duration for the animation.

Read more on this here

brainly.com/question/11389651

PLZZZ HELPPP NOWW

A person's digital footprint consists of the following:

I. Comments you leave
II. Pictures you post
III. Topics you search
IV. Apps you use
V. Music you download
VI. Emails you send

Answers

Answer:

2 and 6 for sure maybe 3 I'm not too sure on that one

________(fill in the blank)in online education is intrinsically related to equity.
Accessibility
Communication
Professionalism

Answers

Accessibility is the answer

How to do this programming?

Answers

Answer:

let bread = 12.50

let chicken = 45.48

let total = chicken + bread

let tax = 62.04 - total

Assume that two students are trying to register for a course in which there is only one open seat. What component of a database system prevents both students from being given that last seat?

Answers

Answer:

Transaction isolation

Explanation:

The student that has initiated the transaction before the other one will be given the seat. The database will be locked for the second student during the period of transaction of the first student. The transaction isolation level is a state within databases that specifies the amount of data that is visible to a statement in a transaction, specifically when the same data source is accessed by multiple transactions simultaneously.

The component of the database that prevents both students from getting the last seat is: transaction isolation

Data that enters the database are expected to maintain accuracy and also be consistent with the database structure.

So, when both students request for the last seat, the possibilities are:

Student A gets the seatStudent B gets the seat

The following is not a possibility

Both students get the seatNone of the students gets the seat

The above highlights means that, only one of the students would get the seat.

This is possible because of the concept called transaction isolation.

The transaction isolation ensures that the data requested by a user is complete and such data maintains competency.

So, when a student gets the last seat, the next student would not get the same seat (or any other seat), because a transaction has already been completed.

Read more about transaction isolation at:

https://brainly.com/question/13030145

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

Answers

Answer:

the character image in the game

how do you unblock things on a school cromebook?

Answers

Answer:

School chromebooks are usually controlled/managed my administrators or teachers, so if you wanted to unblock things on a school chromebook you would have to ask an administrator or teacher at your school.

Which of the following is an example of an output device on a smartphone?
the speaker
the microphone
the battery
the memory card

Answers

Answer:

The speaker

Explanation:

Speakers are output devices because the audio is taken from the app or website and playing it towards the speakers.

public class Exercise_07 { public static void main(String[] args) { System.out.println(bin2Dec("1100100")); // Purposely throwing an exception... System.out.println(bin2Dec("lafkja")); } public static int bin2Dec(String binary) throws NumberFormatException { if (!isBinary(binary)) { throw new NumberFormatException(binary + " is not a binary number."); } int power = 0; int decimal = 0; for (int i = binary.length() - 1; i >= 0; i--) { if (binary.charAt(i) == '1') { decimal += Math.pow(2, power); } power++; } return decimal; } public static boolean isBinary(String binary) { for (char ch : binary.toCharArray()) { if (ch != '1' && ch != '0') return false; } return true; } }

Answers

Answer:

mhm

Explanation:mhm

what does any of this mean?

What is another term for the notes that a reader can add to text in a word-
processing document?
Columns
Formatting
Font
Comments

Answers

Another term for the notes that a reader can add to the text in a word-processing document is known as Comments. Thus, the correct option for this question is D.

What are the characteristics of word documents?

The characteristics of word documents are as follows:

It allows a user to construct professional write-ups.It has editing and formatting tools that modify the existing documents.It authorizes the user to insert charts, tables, diagrams, etc. within the document to make it more attractive.

According to the context of this question, a comment is another term that represents the notes a reader can normally insert within the existing document in order to modify or highlight the required text in the document.

Therefore, a comment is another term for the notes that a reader can add to the text in a word-processing document. Thus, the correct option for this question is D.

To learn more about word-processing documents, refer to the link:

https://brainly.com/question/1596648

#SPJ1

Laptop is a small computer which may run with battery.
True or false....​

Answers

Answer:

True

Explanation:

True all devices unless hooked up to a charger will run out of battery

Answer:

TRUE IS THE ANSWER

I HOPE IT IS HELPFUL

Question:
How many hours do you spend on the Internet per day? Can you live without the Internet for a week? How many aspects of your life depend on the Internet? How many times have you complained about your Internet connection speed?

Answers

Answer:

Living with no internet is indeed a possibility and a reality for many.

It's virtually impossible to go without internet for a significant period of time. Not only do you miss out on social events, but your work suffers too. However, I'd also recommend logging off occasionally; even if just for a day or two.

 Read articles offline.

Listen to podcasts offline.

Do a "brain dump" writing exercise.

Come up with a few weeks' worth of blog topics.

Interact with other humans.

Hold an impromptu staff meeting.

Take some time to relax.

Make some phone calls.

Explanation:

I  spend around 6-8 hours on the Internet each day. This includes using it for work-related tasks, browsing social media, watching videos, reading news, and other online activities.

How many hours do you spend on the Internet per day?

Can you live without the Internet for a week?

While you rely heavily on the Internet for work and communication, you believe you can manage without it for a week. However, it would require adjustments to your routine and finding alternative ways to handle tasks typically done online.

How many aspects of your life depend on the Internet?

Numerous aspects of your life depend on the Internet. Apart from work-related tasks, you use it for staying connected with friends and family, online banking, shopping, accessing information, streaming entertainment, and more. The Internet has become an integral part of your daily life.

Read more about Internet  here:

https://brainly.com/question/2780939

#SPJ3

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.

Which of these would be a good name for a variable that holds a person’s first name?

tomSmith

N01

firstName

lastName

Answers

Answer:

firstNAme

Explanation:

Answer:

firstName

Explanation:

I took the test

_________(fill in the blank)in online education is about making sure that all students are able to use all the technology in the course.
Equity
Ethics
Accessibility

Answers

Accessibility Llllllllllllllllllllllllllllllllll

Answer:Below

Explanation:

Identify uses of embedded computers?

Answers

Answer:

Explanation:

Applications that embedded computers are deployed for range from Industrial Automation and Control, Intelligent Transportation, Medical Imaging, Digital Signage, to unmanned military & defence – to name but a few. There numerous applications where a Embedded Computer can be deployed

How many hours do you spend on the Internet per day?

Answers

I spend maybe around 5-8 hours depending on my mind set

What is nanotechnology?​

Answers

Answer:

Nanotechnology is a field of research and innovation concerned with building 'things' - generally, materials and devices - on the scale of atoms and molecules.

Explanation:

The diameter of a human hair is, on average, 80,000 nanometres.A nanometre is one-billionth of a metre – ten times the diameter of a hydrogen atom.

Answer:

Nanotechnology are the areas of science and engineering where phenomena that take place at dimensions in the nanometre scale are utilised in the design, characterisation, production and application of materials, structures, devices and systems.

How many times will the loop body execute?
x = 3
while x >= 0:
X = X - 1

3

4

5

6

Answers

Answer:

B. 4

Explanation:

Rules :

x = x - 1

if x = 3, so :

x = x - 1

4 = 4 - 1

4 = 3

Option B

1. What are the main uses for Protein in the body?
2. What are the main types of food you get Protein from?

Answers

Answer:

1 muscle building

2 meats, nuts

Explanation:

1 proteins are needed for growth ,they are used to repair worn out tissues, they are used to make enzymes and hormone they give energy ,they are used to make white blood cells stronger.

2 meat egg fish milk beans

How do I jitter click and aim? I have been trying forever and it is not working. Please help. (75 Points)

Answers

Answer:

Make sure you are not pressing the mouse button to click, but vibrating your hand to click. Try using two fingers to jitter-click, Sometimes you can improve your speed using your index finger and middle finger, or even your index finger and thumb. You can do this!

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

PERGUNTA 1
Um pesquisador deve escolher o seu método de pesquisa:
a. Pelas facilidades em realizar a pesquisa.
b. Pelas experiências de outros pesquisadores.
c. Pelas especificidades do objeto de pesquisa.
d. Pelas regras dos manuais de pesquisa.
e. Por aquilo que for determinado pela instituição a qual está vinculado.

Answers

Answer:

c. Pelas especificidades do objeto de pesquisa.

Explanation:

É o que eu acho e quem achar diferente ta errado

What is computer software?​

Answers

Answer:

Software is a collection of instructions and data that tell a computer how to work. This is in contrast to hardware, from which the system is built and actually performs the work.

Explanation:

HOPE IT HELP

Answer:

software is the collection of programs which makes computer work.

What are other ways you could use the shake or compass code blocks in physical computing projects?​

Answers

Answer:

There are different ways of quick navigation between files and functions. ... You should use the menu 'Remove file from project' instead of deleting files. ... A Makefile generation tool for Code::Blocks IDE

PLEASE HELP ASAP WILL GIVE BRAINLYEST

Answers

A

B

C

D

Web camera   C

Printer   D

Hard Drive   A

Microphone   C

DVD    C

Scanner    C

CPU    B

Monitor     D

Which definition of levels of is correct?
O A. voltage at which an audio device receives sound
B.
volume at which someone plays audio on a device
OC. voltage at which a device plays audio
OD. frequency of sound waves alternating on a device

Answers

Answer:

D. frequency of sound waves alternating on a device

Explanation:

Answer:

frequency of sound waves alternating on a device

Explanation:

Where will a sprite On the Scratch website start at with coordinates (0,0)?

Answers

The answer to your question is stage center. Looking at the multiple choices, I think you should choose the answer, "the center of the screen". But I am not 100% sure if that's the right answer. Hope that helps.

Identify ways to safeguard computer against each of the following risk viruses, worms, Trojan horses, botnets, denial of service attacks, back doors and spoofing​

Answers

Answer:

First, never download software or videos from untrusted websites, as they can hide malicious code inside it. Never turn off the anti virus, anti virus only purpose is to block malware or viruses if you disabled it and don't know what you are doing high chance there will be a back door created in your PC. Try a antivirus that is well known and has good reputation on protecting a PC, note that good looking GUI on an antivirus doesn't tell it is always good, it's not the GUI you care about its the whole protecting your PC.

Other Questions
what doctrine of rights did both the no incorporation justices and the plus incorporation justices use to expand the notion of legal rights? I need help with this please An___ is a pure substance that cannot be separated into any other substance what does the story of kimputer say about human cognition? ok hurry please!!!!!! what term do we have for music that uses the sounds of the instruments to recreate an image, scene, or event in the listeners mind? If a car travels 200km in 2.5 hours, how far would it travel in 6 hours at the same rate of speed? what does x equal using distributive property 1/3(x+6)=1/2(x-3) how many questions can you miss on the psat to get national merit What is the first step in solving 0.35 + 0.22x = 1.67? What is the slope of a line perpendicular to the line whose equation is 3y + 2x = -5? I Louisiana state University.A.am attendingB.attendC.was attendingD.attended How is air resistance similar to gravity? give me two reasons The living room is nice with antique furniture in _______themtheyitsit the british government issued the proclamation of 1763 to Please help me. I neeedd itttttttttt. what time is it in florida im to lazy to look at watch HELP NOW!!! WILL GIVE EXTRA POINTSIt describes the physical and social elements common to this work.Note that common contexts are listed toward the top, and less common contexts are listed toward the bottomAccording to O'NET, what are common work contexts for Farmworkers and Laborers, Crop? Check all that apply.outdoors, exposed to weatherexposed to disease or infectionsspend time using hands to handle objects, tools, or controlsspend time climbing ladders, scaffolds, or polesexposed to contaminants define dark reaction ? Mountains form when plates _______.collide (convergent boundary)have faulting occurdivide (divergent boundary)slide past each other (transform boundary