9/9 How is everyone doing?



I've been reading a lot of the topics currently open for section 9/9 and I can't seem to figure out why it's not working for me the way it's working for others.

Maybe I missed something minor?


The output looks correct (except last line). We could do with some raw code for testing purposes. Please post your code, and any error messages you are receiving. Thank you.


    if score % 1 == 0:

is causing the function to return None meaning there is no return. score is a float, not an integer.



I made the following change and it worked!:
if int(score % 1) == 0:


It shouldn't be necessary to narrow the scope to integers. Floats are what we are working with, so may as well stick with them.