-
Empty the List in Python
Source code :
Download
list1 = [1, 2, 3] list2 = lst1 del lst1[:] print(list2)
Output :
[]
Output :
Comments :
Random Picks
Append two text files in PHP
Count Vowels in a String in C++
Merge Multiple Arrays into Single Array in PHP
Sets in Python
Insertion Sort in PHP
Swapping of Two numbers in JavaScript
Selection Sort in Ruby
Functions in C
For Loop program in Python
Classes - Constructor in Python
Comments :