Question: 
Write a python function to check whether the first and last characters of a given string are equal or not.


Model's Code:
def check_Equality(s):
    return "Equal" if s[0] == s[-1] else "Not Equal"



Sample Correct Code:
def check_Equality(str):
  if (str[0] == str[-1]):  
    return ("Equal") 
  else:  
    return ("Not Equal") 


Asserts:
assert check_Equality("abcda") == "Equal"
assert check_Equality("ab") == "Not Equal"
assert check_Equality("mad") == "Not Equal"


Tests:
Test 1 of 3: PASS
Test 2 of 3: PASS
Test 3 of 3: PASS

Test 53 of 974: 40/53 (75.47169811320755%): success