My code is returning \'TypeError: \'<\' not supported between instances of \'NoneType\' and \'int\'\' From looking at other posts it seems to be something to do with it e