• anonymous
hi. why do comments in functions look like this:- """ some comments... """ instead of like this:_ "some comments..."
MIT 6.00 Intro Computer Science (OCW)
  • chestercat
See more answers at
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.

Get this expert

answer on brainly


Get your free account and access expert answers to this
and thousands of other questions

  • rsmith6559
In Python, the three ( single or double ) quotes are used for multiple line comments. Single line comments can also be done using a pound sign. The single double quote is used for a string literal like "123", which would be the characters 1, 2 and 3, not their numerical value.
  • anonymous
Thank you
  • anonymous
If you include " .... " in a function, on the Python Shell you start typing: function( and nothing displays, if you use ''' description ''', when you start typing: function( the description you typed will be display

Looking for something else?

Not the answer you are looking for? Search for more explanations.