Adding some changes in duty_with_number.py files to respect PEP8