Jul-30-2019, 02:58 PM
(Jul-30-2019, 12:51 PM)ichabod801 Wrote: More information would be helpful. What exactly is the problem you are having? If you get an error, please post the full text of the error. If the output is wrong, how is it wrong?
One thing I do note is line 59: comparing numbers with strings doesn't work well. '9' > '500' is True.
Thank you for responding. As of now I get a ValueError
IST_652_Quiz_1 ValueError Traceback (most recent call last) <ipython-input-1-8b991c69553e> in <module> 56 goodgrades = [] 57 print('Here are your good grades') ---> 58 for i,j in SATList: 59 if math[2] > str(500): 60 stategrades.append(i) ValueError: too many values to unpack (expected 2)