Answer the question
In order to leave comments, you need to log in
I don’t understand the problem, I can’t solve it, explain the solution?
The program is served 5
Python
is great C# is a great programming language
Stepik is a great platform
BEEGEEK FOREVER!
Python was born on February 20, 1991
allsearch
= []
allr = []
for i in range(int(input())):
r = input()
allr += [r]
search = input()
if search.lower() in r.lower():
allsearch += [r]
print(*allsearch, sep='')
Deduces the Python language appeared on February 20, 1991
and it is necessary Python language is beautiful
C # - an excellent programming
language Python language appeared on February 20, 1991
Answer the question
In order to leave comments, you need to log in
input_list = []
row_count = int(input('Введи количество строк:'))
for i in range(row_count):
string = input('Введи строку:').lower()
input_list.append(string)
search = input('Введи поисковый запрос:').lower()
for r in input_list:
if search in r:
print(r)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question