Common Queries For Python Range