Python3的字符串使用

字符串可以相加,相乘

she ='Mary'
he ='Juli'
does = ' said'
her_does =she + does
his_does = he + does
words = 'love '*3

print(her_does,', If you said the love three times ,I will marry you! ')
print(his_does,', It is so easy, then ', words)

你可能感兴趣的:(Python3的字符串使用)