College

Dear beloved readers, welcome to our website! We hope your visit here brings you valuable insights and meaningful inspiration. Thank you for taking the time to stop by and explore the content we've prepared for you.
------------------------------------------------ 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:
- Enter a Number: 98.5
- Sample Output: Great!

Answer :

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!")