Tuesday 25 June 2019

Sequences

Built-in Data types:
1.  Int
2.  Float
3.  complex
4.  bool
5.  None
6.  sequences
7.  sets
8.  Mappings (dictionary)

So far we have discussed int, float, complex, bool, None.
Now we are going to see sequences:

Sequences:

Sequences means a group of elements or a group of items or collection of objects.

 Sequences are:
·  str
·  bytes
·  bytearray
·  list
·  tuple
·  range



Next topic      : str data type
Previous topic: Built-in Data types part 1
Click here to see related videos


No comments:

Post a Comment

Files with Exception handling

#Ask the user to take two input integer values var a,b try:     a=int(input("enter any integer value:"))     b=int(input(&qu...