Skip to content

Instantly share code, notes, and snippets.

@modos
Created July 20, 2023 04:30
Show Gist options
  • Save modos/7929db43da6136a16f8005b66e06693d to your computer and use it in GitHub Desktop.
Save modos/7929db43da6136a16f8005b66e06693d to your computer and use it in GitHub Desktop.
رشته چکر
a = input()[0]
b = input()
if b.endswith(a):
print('YES')
else:
print('NO')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment