Start with clarity in mind. Your problem description:
I may only assume what you want to accomplish.... like finding minimum value in list 'a' and then checking which items in list 't' are smaller of it.
- go through list 't' and check if any object from it is smaller than the first object in list 'a'
- if there is one, than it changes the value to '100001'
- it goes to the next object in list 'a' and does that until it goes through the whole list 'a'. [just iterates over list 'a'?]
- the values from list 't' can only be used once each [what means 'used'?]
I may only assume what you want to accomplish.... like finding minimum value in list 'a' and then checking which items in list 't' are smaller of it.
I'm not 'in'-sane. Indeed, I am so far 'out' of sane that you appear a tiny blip on the distant coast of sanity. Bucky Katt, Get Fuzzy
Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.
Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.