Update list.py

Remove some unnecessary print.