This commit is contained in:
2023-07-02 20:56:45 +02:00
parent 523d14fefb
commit 8cb343b26f

7
smil.py Normal file
View File

@@ -0,0 +1,7 @@
s = input()
for i in range(len(s) - 1):
if s[i : i + 2] in [":)", ";)"]:
print(i)
elif i + 2 <= len(s) and s[i : i + 3] in [":-)", ";-)"]:
print(i)