OiO.lk Blog python What does ''' mean in Python?
python

What does ''' mean in Python?


Have been told that in Python

'''

is used to indicate the start of a multi-line string.
However I have also been taught that this code also allows for the documentation of functions and modules.

Googling, surprisingly, doesn’t give a clear answer on what ”’ definitively refers to.

So how should I remember, as a beginner, what this Python code refers to?
A multi-line string? An operator to assist documentation? Both? Something else?



You need to sign in to view this answers

Exit mobile version