answer.
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
slavikrds [6]
2 years ago
15

Test if a number grade is an A (greater than or equal to 90). If so, print "Great!". Hint: Grades may be decimals. Sample Run En

ter a Number: 98.5 Sample Output Great!
Engineering
1 answer:
Sphinxa [80]2 years ago
3 0

Answer:

In Python:

grade = float(input("Enter a Number: "))

if grade >= 90:

   print("Great!")

Explanation:

This prompts the user for grade

grade = float(input("Enter a Number: "))

This checks for input greater than or equal to 90

if grade >= 90:

If yes, this prints "Great"

   print("Great!")

You might be interested in
A 5-cm-diameter shaft rotates at 4500 rpm in a 15-cmlong, 8-cm-outer-diameter cast iron bearing (k = 70 W/m·K) with a uniform cl
-BARSIC- [3]

Answer:

(a) the rate of heat transfer to the coolant is Q = 139.71W

(b) the surface temperature of the shaft T = 40.97°C

(c) the mechanical power wasted by the viscous dissipation in oil 22.2kW

Explanation:

See explanation in the attached files

5 0
2 years ago
Lydia is the CEO for a large pharmaceutical manufacturer. Her company is in the final stages of FDA
weqwewe [10]
OSHA inspections are generally unannounced. In fact, except in four exceptional circumstances when advance notice may be given.


It is a criminal offense for any person to give unauthorized advance notice of an OSHA inspection.
5 0
2 years ago
Write multiple if statements: If carYear is before 1967, print "Probably has few safety features." (without quotes). If after 19
Free_Kalibri [48]

Answer:

The solution code is written in Python 3.

  1. carYear = 1995
  2. if(carYear < 1967):
  3.    print("Probably has few safety features.\n")
  4. if(carYear > 1970):
  5.    print("Probably has head rests. \n")
  6. if(carYear > 1991):
  7.    print("Probably has electronic stability control.\n")
  8. if(carYear > 2002):
  9.    print("Probably has airbags. \n")

Explanation:

Firstly, create a variable, <em>carYear</em> to hold the value of year of the car make. (Line 1)

Next, create multiple if statements as required by the question (Line 3-13). The operator "<" denotes "smaller" and therefore <em>carYear < 1967</em> means any year before 1967. On another hand, the operator ">" denotes "bigger" and therefore <em>carYear > 1970 </em>means any year after 1970.

The print statement in each of the if statements is done using the Python built-in function <em>print()</em>. The "\n" is an escape sequence that create a new line at the end of each printed phrase.

5 0
2 years ago
Consider a normal shock wave in air. The upstream conditions are given by M1=3, p1 = 1 atm, and r1 = 1.23 kg/m3. Calculate the d
mart [117]

Answer and Explanation:

The answer is attached below

7 0
2 years ago
If you have power steering and you are able to __________, you should have your vehicle checked out by a qualified technician.
svp [43]

Answer: drive

Explanation:

The best word that would fit this sentence is drive. A vehicle owner should know how to drive, and they can get their vehicle checked by a qualified technician. The best word that would fit this sentence is drive. If you have power steering and you are able to <u>drive</u>, you should have your vehicle checked by a qualified technician.

8 0
2 years ago
Other questions:
  • generally compound curves are not filtered recommended for A. Road B. water way C. underground road D. rail way​
    12·1 answer
  • 5. A typical paper clip weighs 0.59 g and consists of BCC iron. Calculate (a) the number of
    5·1 answer
  • Some states have osha programs, but you should always defer to the federal program.
    8·2 answers
  • Air in a 10 ft3 cylinder is initially at a pressure of 10 atm and a temperature of 330 K. The cylinder is to be emptied by openi
    10·2 answers
  • An art collector is bidding on a statue that would complete a collection he is trying to assemble. The statue is being sold in a
    9·1 answer
  • Two physical properties that have a major influence on the cracking of workpieces, tools, or dies during thermal cycling are the
    13·1 answer
  • Technician A says that the most efficient method of EVAP system leak detection is introducing smoke under low pressure from a ma
    7·1 answer
  • An air standard cycle with constant specific heats is executed in a closed pistoncylinder system and is composed of the followin
    10·1 answer
  • Thermal energy generated by the electrical resistance of a 5-mm-diameter and 4-m-long bare cable is dissipated to the surroundin
    12·1 answer
  • What ratio between differential gain and common-mode gain is called​
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!