Regarding creation of cout in python

can you explain me how jatin implemented that cout in python

hey @rohit.chandekar786 ,
There are some magic functions in python those start with __ and end with __ too.
Similarly one is used here lshift

Any function of a class that returns self , means it returns an object of that class.
I guess you understood these things.
For further understanding , i would request you to kindly have a look at this discussion link .

If still you are confused or didn’t get anything particular in this topic.
Then You can surely ask it here itself.
Thank You and Happy Learning :slightly_smiling_face:.