Functions On Strings In Python