id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

 

endOther


Given two strings, return True if either of the strings appears at the very end of the other string, ignoring upper/lower case differences (in other words, the computation should not be "case sensitive"). Note: s.lower() returns the lowercase version of a string.


endOther('Hiabc', 'abc') → True
endOther('AbC', 'HiaBc') → True
endOther('abc', 'abXabX') → False

...Save, Compile, Run (ctrl-enter)

def endOther( a, b ):

Editor font size %:
Shorter output


Forget It! -- delete my code for this problem

Progress graphs:
 Your progress graph for this problem
 Random user progress graph for this problem
 Random Epic Progress Graph

Python Help

Difficulty: 215 Post-solution available

Copyright Nick Parlante 2017 - privacy