<p>如果我在python中有一个列表,如何创建对该列表一部分的引用?例如:</p>
<pre><code>myList = ["*", "*", "*", "*", "*", "*", "*", "*", "*"]
listPart = myList[0:7:3] #This makes a new list, which is not what I want
myList[0] = "1"
listPart[0]
"1"
</code></pre>
<p>这可能吗?如果可能的话,我该如何编码?</p>
<p>干杯,
乔</p>