In the previous exercise, we saw a couple of examples of startswith
. Let's do one more hands-on with startswith
average_spam_confidence
which calculates the average spam confidence and returns itX-DSPAM-Confidence:
:
and take the float value which is spam confidencePS - If your logic is correct then the correct spam confidence score should be 0.7507185185185187
. You can use "Hint" and "See Answer" if you are stuck.
Taking you to the next exercise in seconds...
Want to create exercises like this yourself? Click here.
Please login to comment
0 Comments
There are 187 new comments.