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) -...
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 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...
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...
Please solve and explain all questions Exchange rate (yen per $) 90 100 110 120 130...
Please solve and explain all questions Exchange rate (yen per $) 90 100 110 120 130 140 Quantity Supplied in U.S. $’s (Billions) 20 30 40 50 60 70 Quantity Demanded in U.S. $’s (Billions) 80 70 60 50 40 30 (a) What is the equilibrium exchange rate yen per dollar (how many yen do you get for a dollar)? (b) What is the equilibrium exchange rate in dollars per yen (how many dollars do you get for a yen)?...
Please answer part d !!! 7.A gambler plays roulette 100 times, betting a dollar on the...
Please answer part d !!! 7.A gambler plays roulette 100 times, betting a dollar on the numbers 1-12 each time. This particular bet pays 2 to 1 (you win $2 if the outcome is a number between 1 and 12 and lose $1 if not), and the chance of winning is 12/38 = 6/19. (You don’t need to know anything more about roulette than is given in this problem to solve it.) Fill in the blanks.(a) In 100 plays, the...
Please solve the following problem. I'd really appreciate it if you showed your work. Thanks in...
Please solve the following problem. I'd really appreciate it if you showed your work. Thanks in advance! Interpret the given confidence interval. A researcher wishes to determine whether people with high blood pressure can reduce their blood pressure by following a particular diet. Subjects were randomly assigned to a treatment group and a control group. The mean blood pressure was determined for each group, and a 90% confidence interval for the difference in the mean between the treatment group and...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT