Ask Question
9 May, 20:54

Which of the following lines of code would print the docstring for the range () function?

A. print (docstring_range)

B. print (range._doc_)

C. print (range.""doc"")

D. print ("range. doc")

+3
Answers (1)
  1. 9 May, 22:47
    0
    B print (range.__doc__)

    Little trick: Most of Python's system stuff's names are double underscore whatever double underscore. Plus trying them all in the interpreter is easier than posting a question.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Which of the following lines of code would print the docstring for the range () function? A. print (docstring_range) B. print (range._doc_) ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers