Static Function Variable Python Coding