1answer.
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]
3 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]3 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
The ruler game, HELPPPP PLS
Rasek [7]

Answer:

C

Explanation:

8 0
3 years ago
Read 2 more answers
You want to determine whether the race of the defendant has an impact on jury verdicts. You assign participants to watch a trial
Andru [333]

Answer:

The confidence scale represents an ordinal scale of measurement

Explanation:

An ordinal scale or level of measurement is used to measure attributes that can be ranked or ordered, but the interval between the attributes do not have quantitative significance. In this case, the measurement was done on a scale of 1 - 7, with a "1" being; not all that race of defendant has an impact on jury verdicts and a "7" being "very" meaning that race indeed has impact on jury verdicts. Another example can be a survey carried out on the level of customer satisfaction on a particular product, with "1" most dissatisfied and "10 " representing most satisfied. In the first example, it is wrong to say that the difference between 1 being "not at all" and maybe 3 is the same as the difference between 5 and 7 which have different connotations, because the numbers are merely for tagging and not to quantify.

Other levels of measurement include:

1. Nominal: this is the simplest level of measurement and it is simply used to categorize the attributes. Example is taking a survey on gender in the categories of male, female and transgender.

2. Interval: the interval scale is used when the distance between two attributes have meanings but there is no true zero value associated with the scale.

3. Ratio: this combines all the other three levels of measurement and is used to categorize, used to show ranking, has meaningful distances between the attributes and the scale has a true zero point. Example is the measurement of temperature using the celcius scale thermometer, where there is a true zero point at 0°C and the distance between 5°C and 10°C is the same as the distance between 10°C and 15°C.

6 0
3 years ago
Select the correct answer. The most frequent maintenance task for a car is: A. Oil changes B. Tire replacements C. Coolant chang
abruzzese [7]

Answer:

  A. Oil changes

Explanation:

It depends on the car and its usage and environment. Usually oil is supposed to be changed every few months, more often if the car is driven a lot. Coolant changes may be indicated as seasons change, so will generally occur less frequently than oil changes.

Tire and brake replacement depend on usage and driving habits. Some owners may never have to replace either one, if they trade their car every year or two. Folks who drive with their foot on the brake pedal may have to replace brakes relatively often.

The most frequent task is generally oil changes.

5 0
3 years ago
Read 2 more answers
Prove the following languages are nonregular, once using the pumping lemma and once using the Myhill-Nerode theorem. When using
VashaNatasha [74]

Answer:

For any string, we use s = xyz

Explanation:

The pumping lemma says that for any string s in the language, with length greater than the pumping length p, we can write s = xyz with |xy| ≤ p, such that xyi z is also in the language for every i ≥ 0. For the given language, we can take p = 2.

Here are the cases:

  • Consider any string a i b j c k in the language. If i = 1 or i > 2, we take x = \epsilon   and y = a. If i = 1, we must have j = k and adding any number of a’s still preserves the membership in the language. For i > 2, all strings obtained by pumping y as defined above, have two or more a’s and hence are always in the language.
  • For i = 2, we can take    and y = aa. Since the strings obtained by pumping in this case always have an even number of a’s, they are all in the language.
  • Finally, for the case i = 0, we take x = \epsilon  , and y = b if j > 0 and y = c otherwise. Since strings of the form b j c k are always in the language, we satisfy the conditions of the pumping lemma in this case as well.
8 0
3 years ago
What type of intersection is this?
mote1985 [20]
Diverging Diamond Interchange
6 0
3 years ago
Other questions:
  • I need solution for this question please<br>Select the right answer ​
    8·2 answers
  • Your class has designed a self-cleaning reptile tank. What kind of patent would you apply for? A. a plant patent B. a design pat
    14·2 answers
  • What is matrix ? answer plzzz 27 point you got answer​
    15·2 answers
  • a triangle is defined by the three vertices. write the following functions of the triangle class assume that the point class has
    7·1 answer
  • ________ is the most theoretical computing discipline, focusing mostly on finding new and better ways for computers to work
    9·1 answer
  • What type of fuel does a 2 cycle engine use
    5·1 answer
  • Is microwave man made
    5·2 answers
  • What is applied technology?
    14·1 answer
  • A building permit allows a builder to?
    6·1 answer
  • based on the graph shown, for any given output level, the veritcal distance between the avc and the atc curves represents
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!