Skip to content

Commit 20b3435

Browse files
authored
Create 18.11
1 parent 80499a7 commit 20b3435

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

18.11

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#Степанова и Буданова. Сколько t входит в строку
2+
k = 0
3+
a = input()
4+
b = list(a)
5+
for i in range(len(b)):
6+
if b[i] == "t":
7+
k = k + 1
8+
print(k)

0 commit comments

Comments
 (0)