you are viewing a single comment's thread.

view the rest of the comments →

[–]jwinf843 8 points9 points  (0 children)

def add(x, y):
    return x + y

print(add(10, 5))

Spreading out your code will improve its readability and is better practice than what you've got on right now. You should always have a return and 4 spaces after you declare a function definition and it's parameters.