def eq_strict(a, b):
 if (type(a) is type(b)):
  return (a == b)
 return False

def eq_strict ( a , b ) : if ( type ( a ) is type ( b ) ) : return ( a == b ) return False
returns true if both values have the same type and are equal .