Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

1
Getting an Int value as an output when a Boolean value is expected.
Post Body

I am working through the kaggle beginner python course and in one of the exercises I had to modify a function and get a Boolean value as an output from the function but the output I am getting is an int value. Here is the kernel:

https://www.kaggle.com/abrarhossainhimself/exercise-working-with-external-libraries

It's the last problem. Can somebody point out the problem?

Author
Account Strength
100%
Account Age
8 years
Verified Email
Yes
Verified Flair
No
Total Karma
38,831
Link Karma
24,928
Comment Karma
13,903
Profile updated: 3 days ago
Posts updated: 1 year ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
5 years ago