OP
Difference between en1 and en2, changed 36 character(s)
~~~~~↵
endl = '\n';↵
class Cout:↵
    def __lshift__(self, s):↵
        print(s, end='')  ↵
        return self;↵
cout = Cout();↵

cout << "HON HON HON" << endl;↵
~~~~~↵

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English aa2 2022-06-01 04:48:41 36
en1 English aa2 2022-06-01 04:48:10 143 Initial revision (published)