Modernize the code a bit:
use re module use .split() string method Doesn't use 'for line in sys.stdin'; that ends up changing its interactive behaviour.
Showing
Please
register
or
sign in
to comment
use re module use .split() string method Doesn't use 'for line in sys.stdin'; that ends up changing its interactive behaviour.