
# -------------- Example 1 --------------------
print  '-------------- Example 1 --------------------'
# Defined the function:

def fun1(num):
    print(num)


# Run the function:
print 'the number in the function is:'
fun1(3)


# -------------- Example 2 -------  -------------
print  '-------------- Example 2 --------------------'
# Function definition is here
def printinfo( name, age ):
   "This prints a passed info into this function"
   print "Name:", name;
   print "Age:", age;
   return;

# Now you can call printinfo function
printinfo( age=36, name="Hen" );

