Computer Science, asked by Nahom2960, 11 months ago

How do you append to a file with Python?

Answers

Answered by susanthgarikena
0

Answer:

1.List.append(elem) -- adds a single element to the end of the list. ...

2.list.insert(index, elem) -- inserts the element at the given index, shifting elements to the right.

3.list.extend(list2) adds the elements in list2 to the end of the list.

Explanation:

Similar questions