Second Index
给您两个字符串,您必须找到第二个字符串在第一个字符串中第二次出现的索引。
让我们来看第一个例子,您需要查找单词 "sims "中第二个出现的 "s"。使用函数 index 或 find,它将指出 "s "是单词 "sims "中的第一个符号,因此第一次出现的索引为0。但是我们必须找到第二个 "s",它是连续出现的第4个符号,这意味着第二次出现的索引(问题的答案)为3。
输入两个字符串 (str)...
You should be an authorized user in order to see the full description and start solving this mission.