- 23
- 6
cout in Python.
			
				Code:
			
		
		
		def ifst(i, o):
    return isinstance(i, o)
def endl():
    print()
class Cout:
    def __lshift__(self, s):
        if ifst(s, str) and not s.startswith("<__main"):
            print(s, end="")
        return self
cout = Cout() def __lshift__(self, s):cout << "Hello, World!" << endl() 
				
		 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		