On Dec 11, 2007 8:19 PM, katie smith <[EMAIL PROTECTED]> wrote:
>
> I tried googling and yahooing to find the answer and there was to many
> conflicting results so i just decided to ask to simple question here.
>
> How do i could the number of letters in a string no a single letter all of
> them.
>
> ex. 'Count this String'
> should turn into an integer saying 17

If I'm reading your question correctly (remember kids, correct
grammar/spelling makes it much easier to interpret your question), it
sounds like you just want to know the length of the string.  From
http://docs.python.org/tut/node5.html:

The built-in function len() returns the length of a string:

>>> s = 'supercalifragilisticexpialidocious'
>>> len(s)
34
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to