Define a function that computes the length of a given list or string. (It is true that Python has the len() function built in, but writing it yourself is nevertheless a good exercise.)
Part of me wants to say that it's nice to know how stuff works, it's good practice, etc. The other part of me is screaming:
WHY THE HELL DO I WANT TO WASTE MY TIME LEARNING HOW TO DO SOMETHING ILL NEVER DO AGAIN!!!!
Edited, Oct 5th 2012 12:34pm by someproteinguy