Remove redundant 'print' in the code.