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

update task.py