Skip to content

Instantly share code, notes, and snippets.

@ParzivalWins
Created May 25, 2020 00:40
Show Gist options
  • Save ParzivalWins/a9610adff6ddee192162fc40ccec001e to your computer and use it in GitHub Desktop.
Save ParzivalWins/a9610adff6ddee192162fc40ccec001e to your computer and use it in GitHub Desktop.
sample function

function definition and declaration

def calculate_sum(a,b): sum = a+b return sum

The below statement is called function call

print(calculate_sum(2,3)) # 5 //TODO @parzival OK

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