InterviewSolution
Saved Bookmarks
| 1. |
Differentiate clear( ) and del in list? |
|
Answer» The function clear( ) is used to delete all the elements in list, it deletes only the elements and retains the list. Remember that, the del statement deletes entire list. |
|