最佳答案
根据字符串“这家伙是个很酷的家伙”
我想找到“花花公子”的第一个索引:
mystring.findfirstindex('dude') # should return 4
这个命令的 python 命令是什么?