Hi Zeba,
Please find my code below ,
# String
Email_str = 'testemail@gmail.com'
type(Email_str)
o/p : str
#Interger
rollno_int = 114231
type(rollno_int)
o/p: int
#Dictionaries
subjectmarks_dict = {"English": (89,90,91,92,93,94,95,96,97,98),
"Tamil" : (89,90,91,92,93,94,95,96,97,98),
"Maths" : (90,91,92,93,94,95,96,97,98,99),
"Social" :(89,90,91,92,93,94,95,96,97,98),
"Science" : (89,90,91,92,93,94,95,96,97,98)
}
type(subjectmarks_dict)
o/p: dict
#Boolean
booleancheck = 5 > 2
type(booleancheck)
o/p : bool
#Set
fruits_set = {'apple','orange','grapes','pineapple'}
type(fruits_set)
o/p: set
#Float
length_float = 15.50
type(length_float)
o/p : float
#List
friends_list = ['Anitha','Balaji','Devi','Ashok']
type(friends_list)
o/p : list
#Tuple
month_tuple = ('January',4,'Aug', 'December')
type(month_tuple)
o/p: tuple
#None
questions_if_any = None
type(questions_if_any)
o/p: NoneType
Thanks