The error relates to the argument which you are passing to the `print()` function. You are trying to pass a string concatenation operation which you can only do with one or more strings, and not with a string and a float. There are several ways in which you can achieve your desired result:

1. Cast the result variable explicitly to string: `print("The average is:" + str(result))`. This way, you'll still be doing a string concatenation between the literal string and the output of casting your `result` float value to string. Do note however, that this method is considered to be less computationally efficient.
2. Format the string when printing: `print("The average is: {result}".format(result=result))`. This method will implicitly use the string representation of the `result` variable and fill it in the apropriate place in your literal string. Out of the three options, this is still the most computationally efficient, but is a somewhat outdated method of composing strings.
3. Use an f-string: `print(f"The average is: {result}")`. This will format the string in similar fashion to method number 2 above, but is a more concise and modern way of doing so. It is also less efficient than method number 2, which is why it's not favoured by the built-in logging library.
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence