sampleList = ["Jon", "Kelly", "Jessa"]
sampleList.append(2, "Scott")
print(sampleList)
Answers
Answered by
0
Answer:
Hold on, our servers are swamped. Wait for your answer to fully lo
Explanation:
Answered by
0
Answer: error will occur
Explanation:
you cannot use append to locate the index
it will run if you use insert instead of append
append will not take indexing it just add item to last
sampleList = ["Jon", "Kelly", "Jessa"]
sampleList.insert(2, "Scott")
print(sampleList)
Similar questions