Question: *PLEASE HELP ME TO CORRECT THE MISTAKES + HOW TO GET THE CORRECT OUTPUT*...THANKS :) Problem: The following code contains several nested if-else statements. Unfortunately,

*PLEASE HELP ME TO CORRECT THE MISTAKES + HOW TO GET THE CORRECT OUTPUT*...THANKS :)

Problem:

"The following code contains several nested if-else statements. Unfortunately, it was written without proper alignment and indentations. This program also needs integers to be assigned to variables. You also need to include in your program/code, int() and input() functions.

Rewrite the code and use the proper conversions of alignment and indentations and run/execute the program to get the correct output.

See below for the Python Program/Code:

if score >= A_score:

print(Your grade is A.)

else:

if score >= B_score:

print(Your grade is B.)

else:

if score >= C_score:

print(Your grade is C.)

else:

if score >= D_score:

print(Your grade is D.)

else:

print(Your grade is F.)"

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!