compare last three characters of two strings Get link Facebook X Pinterest Email Other Apps March 28, 2022 compare last three characters of two strings a=input() b=input() if(a[-3:]==b[-3:]): print(True) else: print(False) Get link Facebook X Pinterest Email Other Apps Comments
Comments
Post a Comment