sum(numbers) N = len(numbers) return avg / N >>> mean([]) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "<stdin>", line 2, in mean ZeroDivisionError: integer division or modulo by zero
block while block if block block while A. Corazza, S. Di Martino, V. Maggio and G. Scanniello A Tree Kernel based approach for clone detection, ICSM 2010