Saturday, October 1, 2011

Python - C++ like stream input

One of the things in which C++ is better than Python is in the stream input, using the fantastic cin option.

In this link there are similar ways to do the same with Python

http://stackoverflow.com/questions/417703/python-c-like-stream-input