Shurui Liu (Aaron Liu) wrote:
In Python, could space be counted as a character same as a letter?
len(...) len(object) -> integerReturn the number of items of a sequence or mapping.
As a space is an item it will be counted. -- Kind Regards, Christian Witts _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor