Write a program that asks the student for his name and the month in which he/she was born. Students are then divided into sections, according to the following: Section A: Name starts between A - E Born between months 1 - 6 Section B: Name starts between F - L Born between months 1 - 6 Section C: Name starts between M - Q Born between months 7 - 12 Section D: Name starts between R - Z Born between months 7 - 12 Section E: All others

Answers

Answer 1

The program is an illustration of loops and conditional statements

What is a loop?

A loop is a program statement that is used to perform repetitive operations

What is a conditional statement?

A conditional statement is a statement that is used to make decisions

The main program

The program written in Python, where comments are used to explain each line is as follows:

#This creates an empty list for the sections

A = []; B = []; C = []; D = []; E = []

#This gets input for the number of students

count = int(input("Number of students: "))

#This iterates count times

for i in range(count):

   #This gets the name of each student

   name = input("Name: ").upper()

   #This gets the birth month

   month = int(input("Month: "))

   #The following if conditions determine the section of the student

   if name[0] in ['A','B','C','D','E'] and (month >= 1 and month <=6):

       A.append(name)

   elif name[0] in ['F','G','H','I','J','K','L'] and (month >= 1 and month <=6):

       B.append(name)

   elif name[0] in ['M','N','O','P','Q'] and (month >= 7 and month <=12):

       C.append(name)

   elif name[0] in ['R','S','T','U','V','W','X','Y','Z'] and (month >= 7 and month <=12):

       D.append(name)

   else:

       E.append(name)

#This prints the students in each section

print(A,B,C,D,E)

Read more about loops and conditional statements at:

https://brainly.com/question/24833629


Related Questions

Which access object contains all of the data in the database?.

Answers

The access object contains all of the data in the database is tables.

What is tables in access?

Note that in Access, a lot of its data need to be stored in tables. This makes the tables to be the very heart of any database.

Conclusively, tables are said to be organized into vertical columns and horizontal rows while Access, rows and columns are said to be called records and fields.

Learn more about database from

https://brainly.com/question/5707732

What quality would you look for in an image format if you needed the highest quality photo printing in a magazine?
tif or gif or py or jpg

Answers

Answer:

Typically speaking, TIF will be the highest quality image you should use for Commercial work.

Explanation:

This is because TIF, while not much different to JPG interms of color and raw picture data, TIF doesnt have artificats of JPG compression.

What are examples of educational obstacles to a career plan?

Answers

Answer:

failing some important classes

not being accepted into perferred college

didnt get high enough SAT/ACT scores

Explanation:

2.2 When you press the plunger in and try to move a box of chalk/book with your hydraulic mechanism what happens?​

Answers

Hydraulic lifts are tools used to do work like lifting of load with little effort with air or oil as the working fluid. When the plunger is pressed, work in done on the other end to lift the box of chalk

Hydraulic System

When the plunger of an Hydraulic system is compressed, pressure is distributes across the working fluid over a distance, this is converted to energy which is used to do the work of carrying a box of chalk.

Example of the application of hydraulic is the car braking system

Learn more about hydraulic systems here:

https://brainly.com/question/20876092

PowerPoint's _____ is displayed below the Slide pane and provides an area for the user to enter information concerning the active slide.

Answers

The area displayed below the Slide pane for information concerning the active slide is named the notes pane.

Which of the following statements is false?

1.There are both advantages and disadvantages to the increase of technology in our lives.

2.Software allows us to be more efficient.

3.People can use software to make their lives more enjoyable.

4.All software costs money.

Answers

People can use software to make their lives more enjoyable

When both source and destination files need constant updating, use _____________.
A.) cropping
B.) embedding
C.) linking
D.) pasting

Answers

When both source and destination files need constant updating, use embedding or linking.

What is the destination file?

The file is known to be one that is linked or said to be a form of embedded object  that is often inserted into, or that data is saved to.

Note that the source file is one that has the information that is used to create the object and as such, when there is issues, one can use linking.

Learn more about destination files  from

https://brainly.com/question/17019048

PLEASE HELP ASAP 100 POINTS AND BRAINLIEST

Which is the best description of the laws governing IT professionals? Most IT professionals have legal expertise and stay abreast of workplace laws. There are not any laws that impact the work and responsibilities of IT professionals and their workplace. IT professionals will find that all situations that are ethical also abide by the law Most laws are directed at the information, data, or intellectual property rather than the IT professional.​

Answers

Answer:

d

Explanation:

A USB flash drive uses solid
technology to store data and programs.

Answers

Answer:

This is true.

Why is math in coding so hard
HELPPP PLEASEEE

Answers

I cannot solve this problem for you, But I will try my best to help you.

An image sprite component is an animated object that can interact with a canvas, balls, and other image sprites.

A 'sprite' that can be placed on a Canvas, where it can react to touches and drags, interact with other sprites (Balls and other ImageSprites) and the edge of the Canvas, and move according to its property values. Its appearance is that of the image specified in its Picture property (unless its Visible property is False.

To have an ImageSprite move 10 pixels to the left every 1000 milliseconds (one second), for example, you would set the Speed property to 10 [pixels], the Interval property to 1000 [milliseconds], the Heading property to 180 [degrees], and the Enabled property to True. A sprite whose Rotates property is True will rotate its image as the sprite's Heading changes. Checking for collisions with a rotated sprite currently checks the sprite's unrotated position so that collision checking will be inaccurate for tall narrow or short wide sprites that are rotated. Any of the sprite properties can be changed at any time under program control.

Understanding this will help you a lot when it comes to this problem.

The policy recommendations is Information Bulletin 18-10-CJIS, California Values Act's Database Guidance, should be applied to all law enforcement agencies equally, regardless of whether they are federal, state, or local law enforcement. Federal immigration authorities should not be denied access to law enforcement databases solely based on their status as a federal immigration authority, so long as they comply with policies governing use of the databases.A. TrueB. False

Answers

Federal immigration authorities should not be denied access to law enforcement databases solely based on their status as a federal immigration authority is a true statement.

What is Policy recommendations?

This is known to be a kind of policy that functions with the aim to inform people who are challenged with policy choices on some key issues about how research and evidence can be used to make the right decisions.

Conclusively, It's aim is all about using research to handle  a public policy issues or to give evidence about how a policy is functioning.

Learn more about immigration from

https://brainly.com/question/24475673

Why did it take fewer 1-inch tiles than 1-centimeter tiles to measure the length of the cookie cutter?​

Answers

The inch tiles are larger, meaning they use less space.

Multimedia is the combination of two or more types of media. True False

Answers

Answer:

True

Explanation:

Answer:

true

Explanation:

PLEASE HELP ASAP! will give brainlest to correct answer


What is a spediic feature used only in powerpoint?
1. Font size
2. Graphs
3. Page orientation
4. Slide transitions

Answers

Answer:

4. slide transitions

Explanation:

Using Advanced Features of MS Powerpoint

Customize Color Schemes.

Add Animation effects.

Use the Slide, Notes and Handout Masters.

Create, Edit and Import Charts.

Create and Edit Tables.

Manage Hyperlinks.

Create Custom Shows.

Export Outlines & Presentation Slides to Word.

Answer:

Slide transitions

Explanation: cause i got right answer

i'm sure 100%

You can tell that parseInt() is a(n) ____ method because you use it with the class name and not with an object.

Answers

Parse Int() is a(n) static method because you use it with the class name and not with an object.

Is parseInt a static method?

The term or computer language (Java - parse Int() Method) is known to be a method that is often used to get back the primitive data type of a particular String.

Conclusively, the  parse Xxx() is known to be a static method and one can use it to make or have one or more argument.

Learn more about object from

https://brainly.com/question/24445340

Defin major domains of AI??


koii h ​

Answers

Answer:

[tex]\sf\fbox\red{Answer:-}[/tex]

The different domains of AI are Formal tasks, Mundane Tasks, and Expert Tasks.

[tex]\small\fbox{\blue{\underline{mαrk \; mє \; вrαínlíєѕt \; plєαѕє ♥}}}[/tex]

The different domains of AI are Formal tasks, Mundane Tasks, and Expert Tasks. Let us discuss them one by one: Mundane Tasks or Ordinary tasks are the tasks that are comparatively fundamental, and basic, like, Planning, Reasoning, Robotics, using Computer Vision, NLP, etc.

You're going to be mowing lawns as a summer job. How long will it take for your
hearing to be damaged without hearing protection?

1. Less than 15 mins

2. 1 hour

3. 4 hours

4. There is no hearing damage risk

Answers

hshshshhshshs 3. 4 hours

It would take 4 hours for your hearing to be damaged without hearing protection.

Personal protective equipment (PPE) are equipment worn to minimize exposure to hazards that cause serious workplace injuries and illnesses. Personal protective include items such as gloves, safety glasses and shoes, earplugs or muffs.

The sound of a lawn mower has a decibel level of 90dB. Hence, hearing begins to be damaged after 4 hours of exposure to this sound.

Find out more at: https://brainly.com/question/18003651

1.5 code practice question 4

Answers

Answer:

Do you know what the question is for this?

Explanation:

Do you know What the question is?

To protect a computer, it is a good idea to install and frequently run

a checklist.
a web browser.
an internet cache.
anti-virus software.

Answers

Answer:

Anti-virus software

Explanation:

How do you perceive the importance of Internet?

Answers

The Internet had been used since the 1960's. The internet has capability of giving any answer you need or just having fun. If you want more, wikipedia the internet.

Answer:

In the grand scheme of things, the internet is now essential and an everyday part of our lives. It's hard to imagine how much everything would be affected if the internet suddenly vanished one day. People have their livelihoods based around the internet. We're more connected because the internet allows for people across the world to communicate. Of course there is bad as a direct result, but there's also good. So, in short, the internet is the backbone of many facets of our developing society.

Explanation:

How many rotating wheels did it take to make Davinci's Mechanical Calculator?

Answers

answer:

13 wheels

explanation:

i looked it up on google that was the answer <3

How does iteration help the engineering design process?

A.
It lets engineers know how to complete their experiments.

B.
It provides proof positive that an engineer’s plan will work.

C.
It encourages engineers to revisit past steps in the process.

D.
It ensures that all ideas or discoveries are communicated clearly.

Answers

The way that iteration helps the engineering process is that; C.

It encourages engineers to revisit past steps in the process.

What is the importance of the iteration process?

The engineering design process contains a series of steps that helps engineering teams in solving problems.

When we say that design process is iterative, it means that we repeat the steps as many times as required, by making improvements along the way as we learn from previous failure and uncover new design possibilities that help us to arrive at great solutions.

Read more about iteration at; https://brainly.com/question/24793921

Which command prints partial or full environment variables?.

Answers

Answer:

printenv command

The command that prints partial or full environment variables is known as "printenv" command.

How can one print all the variables of the environment?

One can definitely print all the variables of the environment with the help of using env command. This env command is generally utilized by shell scripts in order to launch the correct interpreter but you can also use the env command to list available environment variables.

The env command if applied without any arguments and options, will print all the available environment variables. Apart from this, the env command also displays the values of environment variables specified in the context of the question.

Therefore, the "printenv" command is a type of command that prints partial or full environment variables.

To learn more about Computer commands, refer to the link:

https://brainly.com/question/25808182

#SPJ2

Your question seems incomplete. The most probable complete question is as follows:

Which command prints partial or full environment variables?

printenv.printvar.printgov.

Question 38 of 40
What is efficiency?
A. Doing more than one task at a time
B. The activity of selecting what to do next
C. A measure of output for any given project, task, or activity
D. The ability to do something well without wasted time or effort

Answers

Answer:

The answer should be d i think.

State the difference between font colour and shading.​

Answers

Answer:

when you color you are doing the main work and the main part. when youre shading you are doing the backgrounds

Explanation:

art class

A single-tenant cloud computing environment is also known as a(n) _____. private cloud public cloud autonomic cloud hybrid cloud

Answers

A single-tenant cloud computing environment is also known as; A: Private Cloud

What is Private cloud computing?

There are different types of cloud computing namely;

1. Private clouds.

2. Public clouds

3. Hybrid clouds.

4. Multiclouds.

Now, the question talks about a single tenant cloud computing and the name for it is called Private cloud. This is because it is a cloud environment in which all cloud infrastructure and computing resources are dedicated to, and accessible by only one customer.

Read  more about Cloud Computing at; https://brainly.com/question/19057393

________ mis infrastructure identifies where and how important information, such as customer records, is maintained and secured.

Answers

Answer:

The answer would be information.

Explanation:

This is a definition of supporting operations.

Thanks for asking me to ask a ques !!

Answers

Answer:

I'm not sure what this means by Hope you have a great day :)

Answer:

An important role to follow when learning is to ask questions.

What is the purpose of the PC troubleshooting process? Select two answers

restore damaged data

solve problems

fix broken components

identify problems

Answers

The purpose of the PC troubleshooting process is to identify and solve problems. Thus, the correct options for this question are B and D.

What do you mean by the Troubleshooting process?

The Troubleshooting process may be defined as a type of strategy which is used to detect a theory of probable cause within the computer system, It is a systematic approach to solving a problem.

The purpose of this process is to determine why something does not work as expected and explain how to resolve the problem. The first step of this methodology describes the entire problem that a user may be facing.

Therefore, identifying and solving problems are the major purposes of the PC troubleshooting process. Thus, the correct options for this question are B and D.

To learn more about the Troubleshooting process, refer to the link:

https://brainly.com/question/14394407

#SPJ2

Answer : IDENTIFY AND SOLVE PROBLEMS

Explanation:

did the quiz first i got it wrong then i choosed the answer im giving u and it worked

Which components exist in the contextual tab for tables called Design? Check all that apply. Table Styles Export Table Data Properties Tools Banded Rows External Table Data Table Style Options

Answers

Answer: table styles, properties, tools, external table data, table style options

Explanation: i took the assignment

The components that exist in the contextual tab for tables called Design are table styles, properties, tools, and external table data. The correct options are a, c, d, and f.

What are contextual tabs?

A contextual tab is a concealed tab regulation in the Office ribbon that appears in the tab row when a specific event in the Office document occurs. For example, when a table is selected, the Table Design tab appears on the Excel ribbon.

Contextual tabs appear in Excel when you create or edit an object such as a chart, table, or diagram. The contextual tabs provide you with the options and tools you need to work with these objects, and when you exit the object, the tools are removed.

Therefore, the correct options are a, c, d, and f. Table styles, properties, tools, and external table data.

To learn more about contextual tabs, refer to the below link:

https://brainly.com/question/26680062

#SPJ2

Other Questions
Labuk is a 20-year employee of Whirley Corporation. During his career with Whirley, Labuk has felt uncomfortable with his supervisor, Bob, because of his behavior. On one occasion, Bob told him that foreigners should stop seeking jobs in the United States if they cannot perform. On another occasion, Bob yelled at Labuk and called him an "idiot." Which of the following may be true in this case? a. Labuk does not have a harassment claim based on national origin because these two incidents, although offensive, do not create a hostile work environment. b. Labuk does not have a harassment claim based on national origin because the Fair Labor Standards Act (FLSA) allows employers to discriminate in favor of U.S. citizens. c. Labuk has a harassment claim based on national origin because Title VII of the Civil Rights Act of 1964 provides protection against discrimination based on country of citizenship. d. Labuk has a harassment claim based on national origin under Title VII of the Civil Rights Act of 1964 because he belongs to a protected racial class. RiddleWhat is something all beings seek but fear, with it they can change the way the world works.Hint is down below Sand and salt are poured into a single beaker. The result is a mixture because_____? 1. What four factors determine thegrowth rate of a population?Helllp Find A:B:CA:B=3:5,A:C=6:7 The molecules that capture lightenergy are called...A. mitochondria.B. lysosome.C. pigments. are gmos good or bad for you body what is the length of PQ round to the nearest tenth of a unit p(-6 , 2) (-7 ,4) Fresh veggies are the best kind to consume true or false FREE BRAINLIEST Write the inequality that matches the situation. Amanda rented a bike from Shawna's Bikes. They charge $2 per hour, plus a $10 fee. Amanda paid less than $27. Question 30 of 50Only the Supreme Court can make amendments to the U.S. Constitution.O TrueFalse How long does it take most people infected with norovirus to be free of symptoms?. Which best explains the inability for life to exist in Earths early atmosphere? Select two options. There was insufficient energy from material collisions to change their density. High temperatures during Precambrian time caused surface water evaporation. Volcanic eruptions and comet collisions added different gases to the atmosphere. Available oxygen was used to help create an ozone layer within Earths atmosphere. The oxygen content in Earths atmosphere was too low to support cellular processes. A fair six-sided die is rolled and then a coin is flipped twice.Calculate the probability of getting a 2 on the die followed by two heads from thecoin.Give your answer as a fraction in its simplest form. COuld somebody help me out When should scientific claims be questioned?a. If you don't agree with themb. If they are hard to understandC. If they are based on a very small sampled. If they are newPERPlease select the best answer from the choices provided When analyzing the development of a text's central ideas, readers should considerthe author's purposethe author's point of viewhow central ideas connecthow to summarize the textMark this and retumSave and ExitNextSubmit Face for the notes on a musical scale is an example of a. an acronym c. both a and b b. an acronymic abbreviation d. neither a nor b please select the best answer from the choices provided a b c d What is the energy Molecule used by all cells? How does it cycle? When I was young, I always took my teachers for