Function definition
syntax for defining a function is depends on the programming language because it vary from language to language
python here
...
...
return-value-type function-name( parameter-list )
{
declaration of local variables;
statements;
return return-value;
}
{
declaration of local variables;
statements;
return return-value;
}