from tkinter import *

### FUNCTION PARTS
def average(num1, num2, num3, num4):
    pass

# This should print 4.0
print(average(4, 4, 4, 4))
# This should print 2.5
print(average(1, 2, 3, 4))

### TYPE AND BUILTIN FUNCTIONS
def converter(x, s):
    pass

# This should print the string 9
print(converter(4, "5"))
# This should print the string -4
print(converter(2, "-6"))

### PRINT VS. RETURN
def introduction(name, age):
    pass

# This should print --> My name is Diaj and I am 100 years old
introduction("Diaj", 100)

### LIBRARIES
def area(radius, canvas):
    pass

### DO NOT EDIT THIS FUNCTION
def test_area_graphics(radius):
    root = Tk()
    root.resizable(width=False, height=False) # non-resizable
    canvas = Canvas(root, width=400, height=400)
    canvas.configure(bd=0, highlightthickness=0)
    canvas.pack()
    answer = area(radius, canvas)
    root.mainloop()
    return answer

# This should print 2827.4333882308138
print(test_area_graphics(30))
# This should print 7853.981633974483
print(test_area_graphics(30))
