Update task10.py

This change was by legoktm