0
How can I assign an element from a list to another list in a determined place?
2 Answers
+ 1
#create a list
a = list("blanca")
#list you wanna change
b = list("tondo")
#change the last item for the 2nd in first list.
b[4] = a[2]
print(b)
'''
Rember that this count starts from 0.
'''
https://code.sololearn.com/c45bTjugxN4D/?ref=app
+ 1
Ok, thank you