Hello! I believe the answer for this is "True"!
def computeGrade(float grade, str a){
a = "A" if a > 0.9 else a = "B" if a > 0.8 else "C"
return a;
}
print(a)
the reason HTML seems to work even if it has syntax errors is due to browser having built in ways to parse the code meaning it will still show but most likely look way different then you would want.
the code may turn pink due to syntax errors
Answer:
Following is given the solution to each part.
All the comments are given above each step so that they can make the logic clear.
I hope it will help you!
Explanation: