[Tutor] characters

Christian Witts cwitts at compuscan.co.za
Wed Mar 31 07:41:30 CEST 2010


Shurui Liu (Aaron Liu) wrote:
> In Python, could space be counted as a character same as a letter?
>
>   
len(...)
    len(object) -> integer
   
    Return the number of items of a sequence or mapping.

As a space is an item it will be counted.

-- 
Kind Regards,
Christian Witts




More information about the Tutor mailing list