Python3之len的使用

she = 'Mary'
he = 'Juli'
does = ' said '
words = 'Happy new year! I hope we could have a good time!'
she_does = she + does
he_does =  he + does
print(she_does,'Do you know the number of these words')
print(he_does,'Of course,the number is ',len(words))\

你可能感兴趣的:(Python3之len的使用)