मराठी
तामिळनाडू बोर्ड ऑफ सेकेंडरी एज्युकेशनएचएससी विज्ञान इयत्ता १२

Differentiate del with remove( ) function of List. - Computer Science

Advertisements
Advertisements

प्रश्न

Differentiate del with remove( ) function of List.

फरक स्पष्ट करा

उत्तर

del () statement remove () function
1. del is a statement used to delete the known elements of a list 1. remove() the function is used to delete elements of a list if its index is unknown.
2. The del command can also be used to delete the entire list. 2. The remove () function can be used to delete one or more elements if the index value is not known.
shaalaa.com
Introduction to List
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 9: Lists, Tuples, Sets and Dictionary - Evaluation [पृष्ठ १६८]

APPEARS IN

सामाचीर कलवी Computer Science [English] Class 12 TN Board
पाठ 9 Lists, Tuples, Sets and Dictionary
Evaluation | Q 4. | पृष्ठ १६८
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×