K12教育赛事综合服务平台
专注青少年竞赛题库网站
聚乐之家官方网站
下载聚乐之家官方App
现有字符串S = "Where there's a will there's a way.",计算并输出字符串中'e'在S出现的次数,正确的语句是?
print(S.index('e',0,len(S)))
print(S.find('e',1))
print(S.index('e'))
print(S.count('e'))