Would you happen to know if “The Big If” is bugged?
ive rewritten my code a bunch and simplified it. its probably something small that im missing but just cant place it.
#Complete the if and elif statements!
def grade_converter(grade):
if grade >= 90:
return "A"
elif grade >= 80:
return "B"
elif grade >=70:
return "C"
elif grade >= 65:
return "D"
else:
return "F"
# This should print an "A"
print grade_converter(92)
# This should print a "C"
print grade_converter(70)
# This should print an "F"
print grade_converter(61)
it works in the console window but the instructions are giving me an x?
'Fraid it appears to be bugged. I reset and redid the exercise and got an X where I previously had a check mark. My old code was gone, though, and that page opened up with the reset code to begin with, even though I did it a year or more ago.
Yeah i’ve written my code a couple of different ways that seem to work. The only way i can get the box to check is by hitting the solution button after failed attempts…but the solution is identical to the code posted above. I guess it is bugged
That i know of yes. Even if your code works in the console window the instruction will give you an x. If you click the solution button it will write the “correct” code and give you the pass. If you copy the solution code reset the exercise and paste the solution you still get the x. So again i believe its the only way to pass the exercise.
When we get the solution, it may be working code but it too would fail the SCT in this instance since correct code is not being allowed to pass. Get Code bypasses the SCT and lets us proceed to the next lesson.
Hi am facing the same issue with BigIf , I have written multiple possibilities and still am getting an “X” mark in the instructions.
Due to this Next lessons are not loading and am stuck !!
My code prints out A, C, F on the console as required. + There is NO error message, but the left-hand panel still shows incorrect answer so I cannot proceed. Have reset 3 times (which fixed an earlier bug) but no joy. Help?