Remove First Element from Array using Python

pop method

data = [10, 3, 17, 50, 15]
data.pop(0)

print(data)

Leave a Comment

Cancel reply

Your email address will not be published.