I have written a simple code in Python . I read that if we write docstring at the end of code , then it is printed as usual. My code is
a = 'good'
b= "boy"
print(a+ b)
"""
this will be a good example
"""
The output is
goodboy
However I suppose the output should be
goodboy
this will be a good example
I am unable to understand what is wrong here. Can anyone please tell me where I have made a mistake ?