/**
 * The function takes in a dictionary 'data' containing temperature values for different locations and
 * a string 'location' representing the location for which the temperature value needs to be accessed.
 * Fill in the missing codes to complete the function so that it returns the temperature value for the given location.
 *
 * @param data A dictionary containing temperature values for different locations
 * @param location The location for which temperature value needs to be accessed
 * @return The temperature value for the given location, or null if the location is not found in the dictionary.
 */
fun getTemperature(data: Map<String, Float>, location: String): Float? {

    return data[location]
}
/**
 * The function takes in a dictionary 'data' containing temperature values for different locations and
 * a string 'location' representing the location for which the temperature value needs to be accessed.
 * Fill in the missing codes to complete the function so that it returns the temperature value for the given location.
 *
 * @param data A dictionary containing temperature values for different locations
 * @param location The location for which temperature value needs to be accessed
 * @return The temperature value for the given location, or null if the location is not found in the dictionary.
 */
fun getTemperature(data: Map<String, Float>, location: String): Float? {
/**
 * The function takes in a dictionary 'data' containing temperature values for different locations and
 * a string 'location' representing the location for which the temperature value needs to be accessed.
 * Fill in the missing codes to complete the function so that it returns the temperature value for the given location.
 *
 * @param data A dictionary containing temperature values for different locations
 * @param location The location for which temperature value needs to be accessed
 * @return The temperature value for the given location, or null if the location is not found in the dictionary.
 */
fun getTemperature(data: Map<String, Float>, location: String): Float? {

    return data[location]
}