⌨️

[AtCoder]ABC-070|A - Palindromic Number

2022/12/31に公開

設問ページ

提出結果

def getString():
    return input()


def main():
    s = getString()
    r = s[::-1]

    print('Yes' if s == r else 'No')


if __name__ == "__main__":
    main()

Discussion