1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Thepotemich [5.8K]
3 years ago
9

Write a program that get

Computers and Technology
1 answer:
densk [106]3 years ago
5 0

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!

You might be interested in
Why is it a good idea to leave an interview being courteous and polite?
JulsSmile [24]
It Will Show How Humble You Are. It will also show your ability to control emotions.
8 0
3 years ago
6. How might you go about securing an internship or job on LinkedIn?
Greeley [361]
Seems nice I mean yeah its be fine
4 0
4 years ago
Read 2 more answers
Tonya is photographing an old photo with her digital camera. What can she use to avoid reflections
mixer [17]

Answer:

Indirect lighting conditions

Explanation:

By doing this, there will be no glare

6 0
3 years ago
What are the best 3 xbox 360 games ?​
Andru [333]
Halo
GTA
Call of duty
5 0
4 years ago
Read 2 more answers
The tuning systems were not always reliable during the Baroque period. Why did composers use key signatures?
lapo4ka [179]

Key signatures were used because simply by knowing how many sharps or flats there were, the tuning would be more uniform. Tuning systems were not developed yet during the Baroque era and the concept of key was not introduced by then.

<span> </span>

7 0
4 years ago
Other questions:
  • Secondary storage devices that are input and output devices include all except:
    10·1 answer
  • Write a function file that accepts the values of r, a and n as arguments and uses a for loop to return the sum of the first n te
    9·1 answer
  • Which three of the following are requirements for receiving federal financial aid for college education?
    14·2 answers
  • Suppose we have an arrayAofnprofessors; each teacher has two characteristics: difficulty (a numberin the range [0,10], where a h
    7·1 answer
  • Use the Bisection Method to find the root 2. Write a main program and a function program 3. Main Program a. define constants b.
    9·1 answer
  • Write two examples of hard copy output?​
    9·1 answer
  • Quick please, URGENT
    12·1 answer
  • Imagine that you are preparing a multimedia presentation. What are the four things you need to consider when getting started?
    14·2 answers
  • Database Management Systems are featured with:
    14·2 answers
  • in makecode arcade, which part of the interface can be used to answer questions about how a block functions?
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!