added zero python code