Enter grade number and respond by indicating associate grade

Assignment Help Python Programming
Reference no: EM132354813

Question

School categories by grade are elementary for grades 0-5 (assume kindergarten to be grade zero), middle school for grades 6-8, and high school for grades 9-12.

Write a program that prompts the user to enter a grade number and responds by indicating the associated grade category. The program should also print an error message grade numbers that are out of range, both high and low. See Sample Outputs below.
Sample Output 1

Enter your grade as an integer 7

You are in middle school

Sample Output 2

Enter your grade as an integer -1

Bad input. Try again

Sample Output 3

Enter your grade as an integer 15

Bad input. Try again

Sample Output 4

Enter your grade as an integer 10

You are in high school

Reference no: EM132354813

Questions Cloud

How is the socratic method used today in the classroom : You paper should provide the following: 1) a historical literature review of Socrates 2) a detailed explanation of the Socratic Method and how it relates.
How do you connect the sakila database and add a record : In python, how do you connect the sakila database and add a record to the database? The response paper should be in APA format.
Display all pays in proper currency format with the dollar : Your program should prompt for the weekly hours worked and the regular hourly pay rate. Output should display the regular pay, overtime pay.
How your teaching practice will support learning preferences : For this assignment, utilizing the topic materials and and your own research to create a brochure to be used as a resource for beginning teachers.
Enter grade number and respond by indicating associate grade : Write a program that prompts the user to enter a grade number and responds by indicating the associated grade category.
Which type of speech do you believe you should deliver : Your supervisor recently announced that you and a colleague, Bruce, will have an opportunity to meet with the company's CEO in 2 hours and deliver.
Incidents in the life of slave girl : Incidents in the Life of a Slave Girl did not receive a great deal of critical attention until the late twentieth century, mostly because modern scholars
How the strategy is implemented in grade levels : Research various instructional strategies specific to concepts of print and phonemic awareness to teach new literacy concepts. Include the IWY method in your.
How do you increment counter variable while using counting : How do you increment counter variable while using += 1 to keep counting until you hit a certain number, then resets the counter back.

Reviews

Write a Review

Python Programming Questions & Answers

  List similar names of the files in the directory

provide a written discussion of your code, what are its strengths and weaknesses, what are the boundary conditions where it will fail and where could it

  Write a python program that contains a main function

Write a PYTHON program that contains a main function and a custom, void function namedshow_larger that takes two random integers as parameters.

  Project - movie lovers club

The Movie Lovers Club is a club of persons that love to watch movies and keep track of how many times they have watched the movies they love.

  What are the issues assciated with top-down analysis

what are the issues assciated with top-down analysis please explain?

  How to step through and process the elements of a list

Programming in Python CS21A- Learn how to find high and low values of a list. Learn how to step through and process the elements of a list. Learn how to pass lists as arguments to a function. Learn how to wr..

  We would like to implement the lexical order

We would like to implement the lexical order for lists. For simplicity, we only consider lists of numbers, where , >= have their usual meaning.

  Write a modularized body mass index program

Write a modularized Body Mass Index (BMI) Program which will calculate the BMI of a team player. The formula to calculate the BMI is as follows: BMI = Weight *703 / Height^2.

  Write the pseudo code and then code it in python

Write the pseudo code and then code it in Python. Write a function that has number of tosses as an input parameter. As usual, screen copy your code and results.

  Write a program that displays the values on the screen

Write a program that: Displays the values stored in each variable on the screen, using the following example format and accompanying additional string literal.

  Program that asks the user to enter a students name

The program should output the students name, a letter grade for each assignment score, and cumulative average for all the assignments

  Track the current position and direction of the ball

If the player chooses to play against an automated paddle, your program should control the motion of the paddle. You can track the current position and direction of the ball to estimate whether it should move up or down from its current position.

  Aussie best car abcdeclares that based on its yearly sales

aussie best car abcdeclares that based on its yearly sales it will award a bonus as follows. the bonus will be equally

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd