Enrollments closing soon for Post Graduate Certificate Program in Applied Data Science & AI By IIT Roorkee | 3 Seats Left
Apply NowLogin using Social Account
     Continue with GoogleLogin using your credentials
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.
Note - Having trouble with the assessment engine? Follow the steps listed here
Loading comments...