What is head method??? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 3

What is head method???

25th Feb 2022, 2:36 PM
Shreshta N
Shreshta N - avatar
23 Answers
+ 4
Click on the + here in the thread, Insert Code sort for My Code Bits, select your code.
25th Feb 2022, 3:42 PM
Lisa
Lisa - avatar
+ 4
1. fibs need to take a number, not a string 2. You need to indent the functions code under the function 3. This is not at all about machine learning or head() and describe()
25th Feb 2022, 4:23 PM
Lisa
Lisa - avatar
+ 3
👉 READ the lessons carefully. If you need more information, Google the DOCUMENTATION 👉 TRY the code YOURSELF to find out what it is doing 👉 TAG THE RELEVANT PROGRAMMING LANGUAGE and the module you are talking about.
25th Feb 2022, 3:23 PM
Lisa
Lisa - avatar
+ 2
Look at the error message. At which link e does it hint? Please link your code, so we can help you to find the issue
25th Feb 2022, 3:34 PM
Lisa
Lisa - avatar
+ 2
We cannot see what you did.
25th Feb 2022, 4:49 PM
Lisa
Lisa - avatar
+ 2
Okay, you fixed the number. Now you need to fix the indentation – go to the lessons about function and pay attention to indentation
25th Feb 2022, 4:52 PM
Lisa
Lisa - avatar
+ 1
3rd... Yeah ik But I doubted that... Gratefulness 😇 I try again with ur corrections
25th Feb 2022, 4:24 PM
Shreshta N
Shreshta N - avatar
+ 1
Hey! Lisa I tried out the correction what all u told... But once again it says the same... Invalid syntax
25th Feb 2022, 4:37 PM
Shreshta N
Shreshta N - avatar
25th Feb 2022, 4:51 PM
Shreshta N
Shreshta N - avatar
+ 1
Ok, thanks! Lisa for helping me out
25th Feb 2022, 4:53 PM
Shreshta N
Shreshta N - avatar
+ 1
Ok
26th Feb 2022, 1:54 PM
Shreshta N
Shreshta N - avatar
0
And what is describe method?? And can anyone display on code playground... Pls
25th Feb 2022, 2:44 PM
Shreshta N
Shreshta N - avatar
0
Hello??
25th Feb 2022, 3:11 PM
Shreshta N
Shreshta N - avatar
0
Ok Lisa I did the same what are you talking about in 1st & 2nd points But sometimes it is showing Syntax error and I am not getting it I am not getting what to do?? I read the lessons twice... but these two topics I'm verbatim not able to infer
25th Feb 2022, 3:26 PM
Shreshta N
Shreshta N - avatar
0
Yeah. I had already fed it in community
25th Feb 2022, 3:39 PM
Shreshta N
Shreshta N - avatar
0
Yeah ok wait
25th Feb 2022, 4:02 PM
Shreshta N
Shreshta N - avatar
25th Feb 2022, 4:02 PM
Shreshta N
Shreshta N - avatar
0
Here it is telling syntax error
25th Feb 2022, 4:03 PM
Shreshta N
Shreshta N - avatar
0
I tried typing out enter n And tried typing enter n with quotes too
25th Feb 2022, 4:03 PM
Shreshta N
Shreshta N - avatar
0
Just looking at the indentations, I would suggest that maybe it would be easier to learn Python first..
26th Feb 2022, 8:25 AM
Bob_Li
Bob_Li - avatar