What is the idiomatic Python equivalent of this C/C++ code?
static int count = 0;
printf("count is %d\n", count);
specifically, how does one implement the static member at the function level, as opposed to the class level? And does placing the function into a class change anything?