Help me plz | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Help me plz

In python for beginners. Topic strings. I can't solve the 11 code project plz help me

20th Feb 2022, 12:39 PM
Mary Rian
Mary Rian - avatar
9 Answers
+ 4
👉Re-read the lessons, look at their examples 👉Show your code
20th Feb 2022, 12:58 PM
Lisa
Lisa - avatar
+ 1
It says either use docstrings or \n,. Anyways, remove the blank spaces inside of your string. If you don't understand docstrings yet, you can always go back and re-read the lessons as often as you like
20th Feb 2022, 2:15 PM
Lisa
Lisa - avatar
+ 1
I got it . Thanks alot
20th Feb 2022, 2:28 PM
Mary Rian
Mary Rian - avatar
+ 1
The docstring for a function or method should summarize its behavior and document its arguments and return values def docstring(x, y): ''' Hi!!! 1. 2. 3. 4. 5. 6. 7. 8. 9. Bye bye!!! ''' return x ** y a = docstring(4, 5) print(a) print(docstring.__doc__) print(print.__doc__)
22nd Feb 2022, 11:35 AM
CodeStory
CodeStory - avatar
0
The required output was same as mine but they says that you are close try again
20th Feb 2022, 2:04 PM
Mary Rian
Mary Rian - avatar
0
Again: 👉 SHOW YOUR CODE
20th Feb 2022, 2:05 PM
Lisa
Lisa - avatar
0
Would you please re generate the code for me
20th Feb 2022, 2:05 PM
Mary Rian
Mary Rian - avatar
20th Feb 2022, 2:09 PM
Mary Rian
Mary Rian - avatar
0
They ask to use """ and I can't understand this
20th Feb 2022, 2:10 PM
Mary Rian
Mary Rian - avatar