C Range Method In Python Example