Sequence data type
• Strings - Sequence of characters - " (or) '
• Tuples - Sequence of compound data - ()
• Lists - Sequence of multi-data type objects - []
• Arrays - Sequence of constrained list of objects (all objects of same datatype) using array module from array package
• Dictionary- Sequence of key-value pairs - {}
• Sets - Sequence of unordered collection of unique data
• Range - Used for looping - using built-in range( )
0 Comments:
Post a Comment