I reached the end of the video tutorial and have been struggling with being able to input the separate variables for shipping because it continues to result in:
Traceback (most recent call last):
File “script.py”, line 24, in
ground = ground_shipping_cost(weight)
NameError: name ‘weight’ is not defined
I took a slightly different path than the video tutorial but until now it produced the same results. I’m not sure where to define weight though in order to be able to plug it into the final print function.