Multiline Comment

The multiline comment is actually a string then how it is getting ignored when we write the print statement afterward and when we only write the multiline comment it is getting printed. Can you please explain some more inner functionality causing this behavious

hey @Akshay986 ,
can you please provide an image showing these two cases you are having a doubt in , i am a bit confused .

The tree quotes sequence works as so to get it done. Python compiler reads and understand it as a comment and hence doesn’t provide any kind of output. But when you store this values in a variable then reads it as some value and trims the ending extra two quotes parallely from both sides.

This is just because of the python compiler , the way it reads the lines and react based on them.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.