print "Updated String :- ", var1[:6] + 'Python'. 當執行上麵的代碼中,產生以下 ... 重複- 創建新的字符串,鏈接相同的字符串的多個副本, a*2 的值為 -HelloHello.
確定! 回上一頁