changed print statement to print function; adjusted whitespace according to PEP8