>>> def in_fidge(): try: count = fridge[wanted_food] except KeyError: count = 0 return count ... 查看完整描述