"""
double a number and return the value

using regular function
using lambda

author
date
version
since
"""


# double a number using regular function
def double(x):
    return 2 * x


print(double(3))


# double a number using lambda
double = lambda x : 2*x     # define
print(double(5.6))          # use
