i=0for x in "itheima is a brand of itcast": if x=="a": i+=1print("itheima is a brand of itcast中共含有:%d个字母a"%i)