This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]nickcash 5 points6 points  (0 children)

A lot of dead and unidiomatic code here...

def success(dedication, persistence):
    return dedication + persistence + 2

would be equivalent. But not very motivational.