aboutsummaryrefslogtreecommitdiff
path: root/AlternatingCharachters.py
diff options
context:
space:
mode:
Diffstat (limited to 'AlternatingCharachters.py')
-rwxr-xr-xAlternatingCharachters.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/AlternatingCharachters.py b/AlternatingCharachters.py
deleted file mode 100755
index cb0a56c..0000000
--- a/AlternatingCharachters.py
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/python3
-t = int(input())
-for i in range(t):
- s = input()
- count = 0
- for j in range(len(s) - 1):
- # print(s[j] == s[j + 1])
- if s[j] == s[j + 1]:
- count += 1
- print(count)
-
-