<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def resolve_path(file_path, calling_function):
 """ Conditionally set a path to a CSV file. Option 1 - Join working directory and calling function name (file_name) Option 2 - Join working directory and provided file_path string Option 3 - Return provided file_path :param file_path: None, filename string or Full file path :param calling_function: Name of the function that initialized the CSV class :return: """

    # No file_path is provided
    if not file_path:
        resolved = os.path.join(os.getcwd(), calling_function)

    # String provided that does not a '/', we can assume this is not a path
    elif file_path.count(os.sep) == 0:
        resolved = os.path.join(os.getcwd(), file_path)

    # Valid file_path is provided
    else:
        resolved = file_path

    # Add .csv file extension
    if not resolved.endswith('.csv'):
        resolved = resolved + '.csv'
    return resolved