Compare data type and value
Write a function that receives two inputs.
Return true if both the inputs have the same value and data type.
Otherwise false.
Sample Code:
def isEqual(n1,n2):
# Enter your logic here...
Examples:
Input: 3.142,3.142
Output: True
Explanation: They both have the same data type and value.
Input: 3.142,'3.142'
Output: False
Explanation: They both do not have a different data type.