For example I have n and m = []
#inputs 7 5 6 9 8 5 6 0 //if we print list then
#output [5, 6, 9, 8, 5, 6, 0]
here, 7 is the size of list and remaining are list elements.
help me solve this problem....!
For example I have n and m = []
#inputs 7 5 6 9 8 5 6 0 //if we print list then
#output [5, 6, 9, 8, 5, 6, 0]
here, 7 is the size of list and remaining are list elements.
help me solve this problem....!
To remove the first item of a list:
array = [1, 2, 3, 4, 5, 6, 7]
array = array[1:]
print(array) # [2, 3, 4, 5, 6, 7]