n = int(input("Введите количество сообщений: "))
counter = 0
for i in range(n):
s = input()
if 5 <= len(s) <= 55:
counter += 1
print(counter)
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
n = int(input("Введите количество сообщений: "))
counter = 0
for i in range(n):
s = input()
if 5 <= len(s) <= 55:
counter += 1
print(counter)