关于判断闰年的代码
这样写为什么总是判断不出data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhkAAAGGCAYAAADWwpOAAAAgAElEQVR4Ae2dC7YbNw5EvevZRtYxm/QceFJJGQbYZLMltaSrczQECx+St/VE5MXx/PjJ6ysJ/Pjx449z//jvv5rbfwQifBQBf9ZuxyGrz8lHHZ7DQAACDyXw763y0GUoficC1cXhl4vbd9o3e7megD9rt32l6vPifmwIQAACHQGajI7Mh+rdheEXjNtnMVxR4+za5M0T8Ofkdq7QfW5yHHMIQAACTqBsMu72hXK3/fz146+f8b7La2UvFUu/XNw+c77I1/tM/p1z7nauK56VeB/Vqj43ymWEAAQg0BGgyejIDPR3bTKeeVEcXVoDvLd1fVqTsQL6mZ+dlX0RCwEI3JsATca9n8/U7mZ/k/HMi+ITm4yph/HEoGczfubn54kYWQoCEHgggd+ajPgSqd7V+h7nftezrTjpMZcdY365z+0cdzT33Gwf5Wa/fotRXezyRY5sjarjc9kx+ku6a2FnXfM85jzN4+xnXv5P8LKPLrgZv2pVe5JP40xMFys9xrOvUQ35orZsjVrP57Jj9Jd018LOuuZ5zHlVbhUzq539/MzWJw4CEPg8Ar9/y/19vqMvk+wfzd2XbZ/H0nku3J0u/yvGuNirly787PP4Ksb9kZvnqlfplaZ4H3c46kL7rV66JM/6ora/8jx8Wctz5Wf9aK682THXU17olc+1Ksb9USvPvb5sjV2s/DFWa7p/xd75/KysQywEIPA5BH7/dv/7XKMvk87n+qrtOD1XeqXJ96qxu9hn9KtidPaunvwadzh2F9qj9X/2PtGIKFbj6t6UNxpXa3q8276G6253MdK7WPmvHnc+P1fvhXoQgMB7EDjVZMSXTfXWkf3LaMZWXoweL73S5JsZI797z+RXMd3FPqNfFaN9dfXk17jDsbvQzuiRU721T405RrpG90vz0f3Z9rgVO+pUrxn9qhit39WT/+px5/Nz9V6oBwEIvAeB8htz9GUy8unIHjNjKy9Gj5deafK9auwu9hn9qhidvasnv8Ydjt2FdpWuPWrMdfNccRrDn2P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AAAQhAAAIlAZqMEgsiBCAAAQhAAAK7BGgydgmSDwEIQAACEIBASYAmo8SCCAEIQAACEIDALgGajF2C5EMAAhCAAAQgUBKgySixIEIAAhCAAAQgsEuAJmOXIPkQgAAEIAABCJQEaDJKLIgQgAAEIAABCOwSoMnYJUg+BCAAAQhAAAIlAZqMEgsiBCAAAQhAAAK7BGgydgmSDwEIQAACEIBASYAmo8SCCAEIQAACEIDALgGajF2C5EMAAhCAAAQgUBKgySixIEIAAhCAAAQgsEuAJmOXIPkQgAAEIAABCJQE/gei7kODZVtdWgAAAABJRU5ErkJggg==怎么写呢? 没看见代码哈
我没看见代码,那我就把我的代码放这了,你看行不行?
p=int(input('请输入年份:'))
if p%400==0 or p%4==0 and p%100!=0:
print("是润年。")
else:
print("是平年。")
如果可以,那么别忘了设置最佳答案 // 判断是否是闰年
bool leap_year(int year) {
//using namespace std;
const int number = 2100;
bool years{};
// 定义为闰年的元素
for (int i = 0; i < number; i = i + 4) years = 1;
for (int i = 0; i < number; i = i + 100) years = 0;
for (int i = 0; i < number; i = i + 400) years = 1;
// 是闰年则返回真, 不是则否
if (years) return 1;
else return 0;
}那我也把源码放下吧
a = int(input('输入年份:'))
b = a % 4
c = a % 100
d = a % 400
if b == 0 and c != 0:
print('这个年份是闰年')
elsif d == 0:
print('这个年份是闰年')
else:
print('这个年份不是闰年')
页:
[1]