Python学习历程

Python3之len的使用

2017-01-01  本文已影响10人  心际花园
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))\
上一篇下一篇

猜你喜欢

热点阅读