Domain Name Forum

Domain Name Forum (http://www.domainnameforum.org/index.php)
-   Python (http://www.domainnameforum.org/forumdisplay.php?f=138)
-   -   Python: how to find value in list smaller than target (http://www.domainnameforum.org/showthread.php?t=150757)

Python 03-19-2011 09:40 PM

Python: how to find value in list smaller than target
 
For example I have a non-ordered list of values [10, 20, 50, 200, 100, 300, 250, 150] I have this code which returns the next greater value: <div class="codeblock"> <div class="spaced"> <div>Python Syntax (


All times are GMT -4. The time now is 11:35 PM.

Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.