SIGN IN SIGN UP

Update sum_of_digits.py (#2319)

* * support negative number
* add different version

* fixup! Format Python code with psf/black push

* sum(int(c) for c in str(abs(n)))

* updating DIRECTORY.md

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: Christian Clauss <cclauss@me.com>
D
Du Yuanchao committed
34294b564144d94530ff1be8b0f6e61465db3480
Parent: 7e4176c
Committed by GitHub <noreply@github.com> on 8/16/2020, 6:31:06 PM