sivang | 28 March, 2010 10:09
I have dug an old code of mine a friend had to do a while back in a job interview. The interviewer specifically insisted on not using any of python's industry strength constructs to solve this problem.
Can you guess what this does and how to make it better given the constraints that are apparent from the code and the use of in place modification of the members of the list?
Actually, the code lost any indentation it had .....Let's change the subject, how do you insert code neatly in LifeType ? I googled and tried and did this and that and nothing... can anybody recommend a way ? :)
Comments
Re: That's Not How You Use Python
calin2k | 28/03/2010, 13:06
it reduces double multiple consecutive spaces to a single space