Assignment Task: Python. Please write two functions that will return the number of items stored in B-tree T. One should be the iterative function and the other one the recursive function.
def items1(t):
count = len(t.data)
return count
def items2(t):
count = len(t.data)
return count