Följ koden nedan:
ch2 = [document["channel"] for document in ch]
new_list = []
for word in ch2[0]:
print(word)
if(re.findall(name, word)):
new_list.append(word)
return new_list
problemet har lösts
Följ koden nedan:
ch2 = [document["channel"] for document in ch]
new_list = []
for word in ch2[0]:
print(word)
if(re.findall(name, word)):
new_list.append(word)
return new_list
problemet har lösts