Computer Science, asked by AnnieStar, 11 months ago

Write down the python syntax for pop() ​

Answers

Answered by manasdixi667
2

Answer:

suppose there is a given list

A=['a','e','i','o','u']

A.pop(o)

the answer will be 3

Explanation:

pop command returns the index of the element to be removed

Answered by XxinstaprincessxX
0

Explanation:

pop() is an inbuilt function in Python that removes and returns last value from the list or the given index value. Parameter : index (optional) - The value at index is popped out and removed. If the index is not given, then the last element is popped out and removed.

XxinstaprincessxX

Similar questions