complete 12871.py

This commit is contained in:
yenru0 committed 2024-08-02 04:51:52 +09:00
1 parent 8ce191a73f
commit ecff23e5a2
1 file changed
+4
+4
View File
@@ -0,0 +1,4 @@
if __name__ == "__main__":
s = input()
t = input()
print(1 if t * len(s) == s * len(t) else 0)