You are given a list of input strings, each representing a shipping route in the format '{source}:{target}:{method}:{cost}' (e.g., 'US:UK:UPS:10'). Implement a series of functions (typically 3 parts, revealed one at a time) to query this data: Part 1: Given a source, target, and method, return the cost of that specific…