Sals shipping

Hi i’m stuck at the last exercise of sals shipping i keep getting a Type error please help

The type error is useful? The error tells you some of the variable you use in the comparison are None. So the first step would be print the variables to determine which variable is None

I suspect the ground varaible has a None value

None can occur when a function doesn’t return anything, so this could indicate a problem with your ground_shipping_cost function.

1 Like

The error was my indentation for my return code in both ground and drone shipping cost function i’ve corrected it and it’s running well
Thank you

1 Like