美文网首页Python学习历程
Python3之len的使用

Python3之len的使用

作者: 心际花园 | 来源:发表于2017-01-01 22:31 被阅读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))\
    

    相关文章

      网友评论

        本文标题:Python3之len的使用

        本文链接:https://www.haomeiwen.com/subject/jbgivttx.html