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
Now we will look at one example of ham and one example of spam, to get a feel of what the data looks like.
You can use the following commands to check the content of a ham email:
print(ham_emails[1].get_content().strip())
You can use the following commands to check the content of a spam email:
print(spam_emails[6].get_content().strip())
Taking you to the next exercise in seconds...
Want to create exercises like this yourself? Click here.
Loading comments...