For example, if I have a function like:

```
def function():
    function.number = 1

def calling():
    print(function.number)

```

Is function.number considered a global variable? Is calling variables like this unadvisable?

Thank you