You can call a function simply using it's name follwed by two backets '(' and ')' . If the function name is calculate
you can call using calculate()
Now we will call the function we created in the previous step.
<< your function name >>()
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
Please login to comment
8 Comments
Hi,
Please makesure to import the library `urllib` and execute all the previous steps sequentially before this.
Thanks.
Upvote ShareHi,
i'm also gettirng the same error even though i have imported the urllib properly
Upvote ShareHi,
Makesure to execute that cell where you imported it before uing the library.
Thanks.
Upvote Sharecalling the function without any argument is giving error,
nevermind figured it out , typo in code.
Upvote ShareCalling the function fetch_spam_data() taking lot of time
Upvote ShareHi,
This is normal since it is downloading the dataset over the internet.
Thanks.
Upvote Share