"""
Learning Goals:
 - Identify the inputs, returned value, and side effects of a function call
 - Write new functions by identifying an algorithm's steps, input, output, and side effects
 - Recognize the difference between local and global scope
"""

x = print("Hello World")
print(x)

###

import tkinter

root = tkinter.Tk()
canvas = tkinter.Canvas(root,
             width=400, height=400)
canvas.pack()


x = canvas.create_rectangle(10, 50, 300, 200)
print(x)

root.mainloop()

###

def printGreeting(name):
    print("Hello ", name, "!")
    print("How are you?")
    print("I am fine")
    return "Goodbye " + str(name)
    print("oh no this is secret")

print("woo")
x = printGreeting("Esther") + ", it's been nice"
print("LOOK HERE IT'S IMPORTANT", x)

###

def example(x):
    y = x + 2