### Week 2: Function Calls (Wednesday)

x = pow(3, 2) #Same as x = 3**2
print(x)

###

#This will wait for the user to type into the interpreter and press enter
#  before printing "Your name is {name}"
x = input("Enter your name: ")
print("Your name is", x)

###

x = "21"
print(2 * int(x))  #int() converts x to an int (if possible)

###

# print returns None!
print("returned value:", print(10))

###

#We'll show you more graphics code later!

import tkinter

root = tkinter.Tk()
canvas = tkinter.Canvas(root, 
                        height=400, 
                        width=400)
canvas.configure(bd=0,
                 highlightthickness=0)
canvas.pack()

# write your code here
canvas.create_rectangle(10, 50, 110, 100, fill="green")

root.mainloop()
