⌨️
[AtCoder]ABC-033|A - 暗証番号
設問ページ
提出結果
def getString():
return input()
def main():
N = set(list(getString()))
print("SAME" if len(N) == 1 else "DIFFERENT")
if __name__ == "__main__":
main()
def getString():
return input()
def main():
N = set(list(getString()))
print("SAME" if len(N) == 1 else "DIFFERENT")
if __name__ == "__main__":
main()
Discussion