python Flashcards
introduction to python programming
1
Q
what are tuples
A
Tuples are ordered collection of values
Elements placed inside parenthesis separated by commas.
-Tuples are ordered sequences
-Accessed using index
-Tuples can contain any sort of object(numbers ,strings, lists and other tuples )
-Tuples are immutable: cannot add delete or change elements after tuple is defined.
2
Q
A