Task Description: Implement the end_other Function
You need to implement a function called end_other(a: str, b: str) -> bool that checks if one of the two input strings (a or b) appears at the very end of the other string, ignoring case sensitivity.
Requirements:
The function should accept two string parameters, a and b.
Convert both strings to lowercase to facilitate case-insensitive comparison.
Return True if:
String a appears at the end of string b, or
String b appears at the end of string a.
Return False if neither condition is true.
Implementation Notes:
Use slicing to check the end of each string.
Ensure the function handles varying lengths of input strings appropriately.
Ensure your implementation passes all the provided unit tests in the TestEndOther class.
Location:
Place your end_other function implementation in the /app/ directory.