Learning Python 06

python

Function

Link to my github (This is learning code.)

def say_hi(name, age):
    print("Hello Function;  My name is " + name + ". You are " + str(age))


print("Top")
say_hi("Cookie", 30)
say_hi("Jakie", 20)
print("Bottom")


def cube(num):
    return num * num * num


print(cube(3))

result = cube(4)
print(result)

Link To Mike Dane YouTuBe