Update assignment8.py

remove duplicate