Update 3n_plus_1.py (#7966)
* Update 3n_plus_1.py 1. Minor issue with ValueError message: Given integer should be positive, not greater than 1, as 1 is allowed. 2. += calls underlying list extend method which might be slower. Calling apend seems more appropriate. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
S
Sanders Lin committed
51708530b6a46a5e53d12e750521a11c6bf5c986
Parent: 7f1a552
Committed by GitHub <noreply@github.com>
on 11/6/2022, 9:35:40 AM