From ecff23e5a219cde3633172c1cd85ede1f674d922 Mon Sep 17 00:00:00 2001 From: yenru0 Date: Fri, 2 Aug 2024 04:51:52 +0900 Subject: [PATCH] complete 12871.py --- zeta_python/completed/12871.py | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 zeta_python/completed/12871.py diff --git a/zeta_python/completed/12871.py b/zeta_python/completed/12871.py new file mode 100644 index 0000000..d164949 --- /dev/null +++ b/zeta_python/completed/12871.py @@ -0,0 +1,4 @@ +if __name__ == "__main__": + s = input() + t = input() + print(1 if t * len(s) == s * len(t) else 0)