Erstellt von Aparna Dhirde
vor mehr als 4 Jahre
|
||
Frage | Antworten |
Tuples | An ordered sequence of elements of different data types |
Tuple is Immutable | Means that the elements of a tuple cannot be changed after it has been created |
Tuple Operations | Concatenation, Repetition, Repetition, Slicing |
Built in Functions | functions whose functionality is pre-defined |
tuple () | Creates a tuple if a sequence is passed as argument |
index () | Returns the index of the first occurrence of the element in the given tuple. |
Nested Tuples | A tuple inside another tuple |
Dictionary | Dictionary is an unordered collection of items where each item consist of a key and a value. |
Dictionary is mutable | Means can modify its contents but Key must be unique and immutable |
Möchten Sie mit GoConqr kostenlos Ihre eigenen Karteikarten erstellen? Mehr erfahren.