Update prob6.py