Half-interval working in Python