I have this example in C/C++ and I want the same code for Python
void numbers()
{
static int count = 0;
count++;
printf("count is %d\n", count);
}
How to implement static member at a function level as opposed to the class level?If I place a function into a class will it change anything?