Hacker News new | ask | show | jobs
by ambition 5952 days ago
That's disingenuous. When they say "no built-in functions", they really only mean "don't use a library function that makes this task trivial." Which eliminates 'strlen' in C, 'length' in Haskell, 'len' in Python, etc.
1 comments

sort of trivial in python with just statements: i=0 for x in thestring i+=1 print i