BadPython.com

Using globals

        
my_var = 100
def simple_func(x=None):
    global my_var
    if x is None:
        my_var += 1