#basic function
"""
#Defineds my function's name
#Return holds the input in a staging area, in this case the input is function1
#added a place holder, which counts the letter of the word
def my_function(greeting, name = 'you'):
    #{} is replaced by 'greeting'. to fill in the placeolders with the variables.
    return '{}, {}' .format(greeting, name)

print(my_function('Hi', name = 'Chris'))


def function2(x):
    return 2*x
a = function2(5)
 # return value 
print(a)
"""
def convert(miles):
    return 1.6 * miles
km = convert(5)
print(km)

"""def function3(x,y):
    return x + y
e = function3(3, 8)
print(e)"""

