text?=?"welcome?to?the?world?of?python?python?is?the?most?popular?script?language"
#?將?text?整句話切分為各個單詞,通過?split?函數
words?=?text.split()
#?替換第十個單詞為?python
words[9]?=?"python"
#?重新組合所有單詞為壹個新的句子?即?text
text?=?"?".join(words)
#?打印輸出?text
print(text)
希望對妳有所幫助~~~