words = ‘Hi,this\’s my buddy’ words = "Hi,this’s my buddy”
In [1]: name = ‘Edward‘ In [2]: age = ‘27‘ In [3]: name Out[3]: ‘Edward‘ In [4]: age Out[4]: ‘27‘ In [5]: name + age Out[5]: ‘Edward27‘ In [6]: name * 10 Out[6]: ‘EdwardEdwardEdwardEdwardEdwardEdwardEdwardEdwardEdwardEdward‘
原文:https://www.cnblogs.com/lshedward/p/9897613.html