python lambda
# This is a normal function:
def Function(Parameter):
return Parameter
# And this is a lambda function
Function=lambda Parameter : Parameter
"""
They are both completely identical and do the exact same job (which is
to take in a parameter and output it) the reason lambda functions exist
is to make code shorter and readable since a lambda function only takes
up one line.
Lambda functions are mostly used for simple things like what
I did whilst defining functions are used for complex things.
You do not
have to use lambda functions, it's all about preference.
"""