Question

Python Programming Q : Please solve the problem.   ************* my grade ************* ****performance records***** print() 95-100:...

Python Programming

Q : Please solve the problem.  

*************

my grade

*************

****performance records*****

print()

95-100: A+      90- 94: A

95-89: B+

**************

print()

Your grade is B+.

Homework Answers

Answer #1

Mygrade = int(input("Enter your score:"))
if Mygrade >=95 and Mygrade <=100:
print(" Your grade is A+")
elif Mygrade >=90 and Mygrade <=94:
print("Your grade is A")
elif Mygrade >=85 and Mygrade <=89:
print("your grade is B+")
else:
print("Grade Unknown")

Compilation with output:

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Use python code to solve IVP. Code must print both general and particular solutions. Please paste...
Use python code to solve IVP. Code must print both general and particular solutions. Please paste full python code for your answer. IVP: y′=(5x^2)(y^2)+(125x^2), y(−7π)=10 Below is an example of code for the problem 7x″−3x′−57x=0, x(2π)=9, x′(−π)=5exp(3) : from sympy import * y = symbols('y') x = Function('x') x = dsolve(7*diff(x(y),y,2)-3*diff(x(y),y)-57*x(y),x(y)) print('The general solution is: ',x,'.',sep='') x = x.rhs xp = diff(x,y) y0, y0p = 2*pi, -pi x0, x0p = 9, 5*exp(3) x0LHS, x0pLHS = x.subs(y,y0) - x0, xp.subs(y,y0p) -...
In Python... Write a program that calculates a student’s final grade in this course. The program...
In Python... Write a program that calculates a student’s final grade in this course. The program should: Display a message stating its goal Prompt the user to enter a student’s average grade for the weekly assignments, grade for mid-course project and grade for final project Calculate the final grade based on these percentages... Assignments = 60% Mid-course & Final Project = 40% (20% each) A A- B+ B B- C+ C C- D+ D D- E 100-94 93-89 88-85 84-82...
My 95% confidence interval of the proportion of times someone goes "Awww" when they see Artemis...
My 95% confidence interval of the proportion of times someone goes "Awww" when they see Artemis is (.67, .89). I calculated this using 1,000 bootstrap samples, where my original sample was 100 showings. For the following scenarios, please pick which of the following confidence intervals would be most appropriate. Explain Why. a. (.72, .83) b. (.67, .89) c. (.52, .99) 1. Instead finding a 90% confidence interval.
The Data A central tenet to being a good instructor, I believe, is to be a...
The Data A central tenet to being a good instructor, I believe, is to be a reflective practitioner of your craft. From time to time I find it to be necessary to review and reflect on my work as an instructor from a grade perspective. On our moodle page you will find a link to a second word document titled “300 Grades”. This data sheet contains both the alphanumeric grade (page 1) and the numerical equivalent (page 2) for every...
Please solve in c++ Split the Number Programming challenge description: You are given a number N...
Please solve in c++ Split the Number Programming challenge description: You are given a number N and a pattern. The pattern consists of lowercase latin letters and one operation "+" or "-". The challenge is to split the number and evaluate it according to this pattern e.g. 1232 ab+cd -> a:1, b:2, c:3, d:2 -> 12+32 -> 44 Input: Your program should read lines from standard input. Each line contains the number and the pattern separated by a single whitespace....
Please write the code in Python. Write a program/function in any Object-Oriented programming language that will...
Please write the code in Python. Write a program/function in any Object-Oriented programming language that will implement Queue Abstract Data Type with the following functions/methods.  Any build-in/pre-defined Queue function/library (e.g., java.util.Queue in Java) is NOT allowed to use in your code. push(Element):  insert the input Element (e.g., String or Integer in Java) to the end of the queue. pop(): remove the head element of the queue and print the head element on screen. count():  return the total number of elements in the queue...
Use computer software packages, such as Minitab or Excel, to solve this problem. The owner of...
Use computer software packages, such as Minitab or Excel, to solve this problem. The owner of Showtime Movie Theaters, Inc., would like to predict weekly gross revenue as a function of advertising expenditures. Historical data for a sample of eight weeks follow. Weekly Television Newspaper Gross Revenue Advertising Advertising ($1,000s) ($1,000s) ($1,000s) 96 5.0 1.5 90 2.0 2.0 95 4.0 1.5 92 2.5 2.5 95 3.0 3.3 94 3.5 2.3 94 2.5 4.2 94 3.0 2.5 a. Develop an estimated...
Use computer software packages, such as Minitab or Excel, to solve this problem. The owner of...
Use computer software packages, such as Minitab or Excel, to solve this problem. The owner of Showtime Movie Theaters, Inc., would like to predict weekly gross revenue as a function of advertising expenditures. Historical data for a sample of eight weeks follow. Weekly Television Newspaper Gross Revenue Advertising Advertising ($1,000s) ($1,000s) ($1,000s) 95 5.0 1.5 90 2.0 2.0 95 4.0 1.5 92 2.5 2.5 99 3.0 3.3 94 3.5 2.3 94 2.5 4.2 103 3.0 2.5 a. Develop an estimated...
Please do the following in python: Write a program (twitter_sort.py) that merges and sorts two twitter...
Please do the following in python: Write a program (twitter_sort.py) that merges and sorts two twitter feeds. At a high level, your program is going to perform the following: Read in two files containing twitter feeds. Merge the twitter feeds in reverse chronological order (most recent first). Write the merged feeds to an output file. Provide some basic summary information about the files. The names of the files will be passed in to your program via command line arguments. Use...
I appreciate your assistance. THIS IS MY SECOND TIME POSTING THIS QUESTION. PLEASE DO NOT RESPOND...
I appreciate your assistance. THIS IS MY SECOND TIME POSTING THIS QUESTION. PLEASE DO NOT RESPOND IF YOU CAN NOT ANSWER THIS QUESTION CORRECTLY (WITH A FULL ANSWER). PLEASE DO NOT WRITE ON A NOTEBOOK PAGE IF I CANNOT READ YOUR HANDWRITING. Scores on the final in a statistics class are as follows. 75 25 75 52 80 85 80 99 90 60 86 92 40 74 72 55 87 70 85 70 a. Calculate the 25th, 50th, and 75th...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT