We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e8753a2 commit 524ce1cCopy full SHA for 524ce1c
String-2/end_other.py
@@ -0,0 +1,6 @@
1
+def end_other(a, b):
2
+ n = len(b)
3
+ m = len(a)
4
+ if m > n :
5
+ return (a[m-n:m].lower() == b.lower())
6
+ return (b[n-m:n].lower() == a.lower())
0 commit comments