Skip to content

Conversation

@prathimacode-hub
Copy link

Added sum of digits script in python

Copy link
Owner

@shawnkoon shawnkoon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor change requested, code looks good! Nice work 👍

Comment on lines +1 to +4
def SumLoop(a):
a = a.split(' ')

return int(a[0])*int(a[1]) + int(a[2])
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we un-indent function definition for SumLoop(a)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants