BFS
https://ac.nowcoder.com/acm/problem/17870
由于不区分大小写,所以统一转化成小写,然后find即可
print(input().lower().find("bob"))
相关推荐