Ask Question
26 April, 14:12

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")

+5
Answers (1)
  1. 26 April, 17:37
    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?
Find 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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers