Can anybody tell me what is internal documentation and what is external documentation based on the following example:
'''If the str is a palindrome which is a phrase that reads the same \
forwards and backwards return True; otherwise, return False.Assume that\
there are only lowercase letters in the parameter: no punctuation, spaces,\
uppercase letters, or other funny characters. '''
if s == s[::-1]: #reverse the string
Is that right that things after # is internal documentation. And things which are used for explaining functions(i.e. docstring here) is external documentation?
Thank you :)