update task.py
Merge pull request #26 from cdyue/master

update task.py