XRange

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • aboxylica
    New Member
    • Jul 2007
    • 111

    XRange

    can you tell me what exactly is the use of Xrange() operator??
  • bvdet
    Recognized Expert Specialist
    • Oct 2006
    • 2851

    #2
    Originally posted by aboxylica
    can you tell me what exactly is the use of Xrange() operator??
    xrange() and range() are similar. range() returns a list of numbers. xrange() returns an object which generates the numbers on the fly. xrange() is useful primarily when dealing with a large range on a machine with limited memory.

    Comment

    Working...