1、输入一个年份,输出是否为闰年。
#闰年条件:能被4整除但不能被100整除,或者能被400整除的年份都是闰年。 neval(input("请输入一个年份:"))
if (n%40 and n%100!0) or (n%4000):print("该年份是闰年")
els…
docker直接启动es,报如下错误
2024-08-22 10:52:27 ERROR: [1] bootstrap checks failed. You must address the points described in the following [1] lines before starting Elasticsearch.
2024-08-22 10:52:27 bootstrap check failure [1] of [1]: the defa…