>>>"python is an excellent language."count("an")执行后输入结果是
2把,不过你的点应该写在第二个双引号后面
Process finished with exit code 0