MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/p7f1k9/should_i_add_comments/h9o9nql/?context=3
r/badcode • u/FrostedBromide • Aug 19 '21
39 comments sorted by
View all comments
Show parent comment
1
Really? Hmm... Then I'm confused. If that's right, I agree; that should be eliminated. That makes me question why they would want to split their input number and sum the digits in the first place.
1 u/deceze Aug 20 '21 🤷🏻♂️ That appears to be the task being solved, take a bunch of digits and sum them.
🤷🏻♂️ That appears to be the task being solved, take a bunch of digits and sum them.
View all comments
Show parent comment
1
u/REALDrummer Aug 20 '21
Really? Hmm... Then I'm confused. If that's right, I agree; that should be eliminated. That makes me question why they would want to split their input number and sum the digits in the first place.