notethe type of classes and builtin types int and float are type as shown in above code 'isoperator the 'isoperator is used to compare the identity of two objectsa [ is new name for and have same id id( id( since and are samehence if modify ba also changes append( [ 'isreturns true if 'idis same is true is true comparing objects objects can be compared based on valuesid and types as shown belowdef compare(ab)if is bprint(objects have same id"if =bprint(values of objects are same"if type(ais type( )print(types of objects are same" =[ =[ id( id( compare(xyvalues of objects are same types of objects are same compare( objects have same id values of objects are same types of objects are same (continues on next page identity and type