Jun-13-2020, 05:52 PM
Dear forum,
Could you pls advise why this code gives none
Could you pls advise why this code gives none
list=["a","b"] print(list.append(list[1]))And the following code works fine:
list=["a","b"] list.append(list[1]) print(list)