I was looking at something that looked like:
class T:
xs : List[int]
ys : List[int] = []
i : int
i_g : int = 0
def __init__(self, xs: List[int], ys: List[int]):
self.xs = xs
self.ys = ys
self.i = 0
And I was just wondering if the variables declared at class level are static class members or if they're provided as type inference for instance variables and does providing a default value differenciate between the two (for example, since i_g is provided the default value, does that make it a static and if so, is it possible to provide a default value to instance variables)?