Ответ:
N = int(input('кол-во слов:'))
words = []
for _ in range(N):
word = input(слово:')
words.append(word)
short_word = words [0]
for word in words:
if len(word) < len(short_word):
short_ word = word
print(len(short_word))
сделано на языке питон
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
N = int(input('кол-во слов:'))
words = []
for _ in range(N):
word = input(слово:')
words.append(word)
short_word = words [0]
for word in words:
if len(word) < len(short_word):
short_ word = word
print(len(short_word))
сделано на языке питон