complete 25425.py 29766.py 29767.py 29768.py
This commit is contained in:
10
zeta_python/completed/29766.py
Normal file
10
zeta_python/completed/29766.py
Normal file
@@ -0,0 +1,10 @@
|
||||
if __name__ == "__main__":
|
||||
S = input()
|
||||
cnt = 0
|
||||
now = 0
|
||||
find = S.find("DKSH", now)
|
||||
while find != -1:
|
||||
cnt += 1
|
||||
now = find + 4
|
||||
find = S.find("DKSH", now)
|
||||
print(cnt)
|
||||
Reference in New Issue
Block a user