Computer Science, asked by akash21101290, 5 months ago

Consider a list m = [11, 13, 15, 17] and write a Python command to remove the first entry from the list

using list functions.​

Answers

Answered by Anonymous
2

Explanation:

# Python code to demonstrate

# removing front element

# using pop(0)

# initializing list

test_list = [11, 13, 15, 17]

# Printing original list

print ("Original list is : " + str(test_list))

# using pop(0) to

# perform removal

test_list.pop(0)

# Printing modified list

print ("Modified list is : " + str

Similar questions