+ 2

How am I getting This output ?

# I would like know the answers for both #please help list=[5,2,3,3,2,53,44,22,99,1] print (list.pop(6)) print (list.insert(0,0)) OUTPUT: 44 None

24th Nov 2017, 5:28 AM
VISHNU P.S
VISHNU P.S - avatar
1 Respuesta
+ 6
the pop() returns the value you deleted and the method insert() does not return anything but do change the list
24th Nov 2017, 5:35 AM
程 康
程 康 - avatar