K
K
Kto Takoi2022-03-19 19:44:12
Python
Kto Takoi, 2022-03-19 19:44:12

Is it possible to align a word with the whole text?

Look, I need to level 1 word with the entire text and find out if this word is in the text and if it is not there, then you need to add it. Texts and words are taken from files

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
soremix, 2022-03-19
@Realno_cheal

In python it is written like this:
if word in text:

S
smarisov666, 2022-03-19
@smarisov666

find(str)
you can read here - https://metanit.com/python/tutorial/5.2.php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question