Sample Coding For Python Range