Python3 program for pop() method list1 = [ 1, 2, 3, 4, 5, 6 ] # Pops and removes the last element from the list print(list1.pop()) # Print list after ...
確定! 回上一頁