Как применять функцию find() к строкам в Python? Метод строк find() в Python.

#pythonпорусски #функцияfind #строкивpython Упражнения: 1. Вырежьте слово friend из данной строки: p = ’Season of mists and mellow fruitfulness, Close bosom-friend of the maturing sun’ 2. Вырежьте фрагмент the king’s men из данной строки: hd = ’All the king’s horses and all the king’s men Couldn’t put Humpty together again’ Не забудьте воспользоваться функцией find().
Back to Top