On Nov 14, 2010, at 1:53 AM, epanda wrote: >> You can use a for loop. >> >> for i in range(0, len(price)-1) > > > Hum, I know but nothing is smarter and faster before implementing a > for loop?
If all the elements of list1 are unique, you could use map() and index(). map(list1, 'v:val."*".list2[index(list1,v:val)]') > > -- > You received this message from the "vim_use" maillist. > Do not top-post! Type your reply below the text you are replying to. > For more information, visit http://www.vim.org/maillist.php -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
