Timeline for Range of ordinal numbers
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 25, 2012 at 2:05 | vote | accept | yurisich | ||
Feb 25, 2012 at 1:20 | comment | added | yurisich | Follow up: didn't realize that Python 3k returns map objects, which is why I wasn't getting a list back. | |
Feb 25, 2012 at 1:09 | comment | added | yurisich |
I didn't like returning the map object. I just used return [ nth(x) for x in range(*args) ] . But, +1 for producing the stand-alone nth(n) function, which is nice.
|
|
Feb 24, 2012 at 18:52 | history | answered | Winston Ewert | CC BY-SA 3.0 |