पायथन चेंज लिस्ट आइटम
आइटम मान बदलें
किसी विशिष्ट वस्तु का मान बदलने के लिए, अनुक्रमणिका संख्या देखें:उदाहरण
दूसरा आइटम बदलें:
thislist = ["apple", "banana", "cherry"]
thislist[1] = "blackcurrant"
print(thislist)
दूसरा आइटम बदलें:
thislist = ["apple", "banana", "cherry"]
thislist[1] = "blackcurrant"
print(thislist)