Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Stream:
- def __init__(self):
- pass
- def __lshift__(self, s):
- print(s, end='')
- return self
- cout = Stream()
- endl = '\n'
- cout << "Hello, World!" << endl
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement