Have a Question?

If you have any question you can ask below or enter what you are looking for!

Python NumpyDoc Docstring Generator

Prompt

These are written in doctest format and should illustrate how to use the function.

>>> a = [1, 2, 3]
>>> print([x + 3 for x in a])
[4, 5, 6]
>>> print(“anb”)
a
b
“””
“`

Given these instructions and the above example, write the docstring for the following code:

“`python
[PROMPT]
“`

Prompt Hint

Paste your Python code here.

Leave a Reply

Your email address will not be published. Required fields are marked *