已知year为整型变量,不能使表达式(year%4==0year%100!=O)||year%400==0的值为“真”的数据是______。A.1990B.1992C.1996D.2000

已知year为整型变量,不能使表达式(year%4==0&&year%100!=O)||year%400==0的值为“真”的数据是______。

A.1990

B.1992

C.1996

D.2000


相关考题:

已知判断某年year是闰年的条件是满足下列二者之一 (1)能被4整除,但不能被100整除 (2)能被400整除 下面哪个逻辑表达式可作为year是闰年的判断条件?A.((year%4==0) || (year%100!=0)) (year%400==0)B.((year%4=0) || (year%100!=0)) (year%400=0)C.((year%4==0) (year%100!=0)) || (year%400==0)D.((year%4=0) (year%100!=0)) || (year%400=0)

已知year为整型变量,不能使表达式(year%4==0year%100!=0)||year%400==0的值为“真”的数据是()。A.1990B.1992C.1996D.2000

闰年的判定条件是能被400整除,或者能被4整除但不能被100整除,正确的Python表达式为()。A.(year%400==0) or (year%4==0 and year % 100!=0)B.year%400==0 and year%4==0 and year % 100!=0C.(year//400==0) or (year//4==0 and year//100!=0)D.year//400==0 or year//4==0 and year//100!=0

1、判断是否闰年的表达式(如果是闰年则值为1,否则为0)为()A.((year%4==0)(year%100!=0))||(year%400==0)B.((year%4==0)((year%100!=0)||(year%400!=0)))C.((year%4==0)||(year%100!=0)(year%400==0))D.(year%4==0)||((year%100==0)(year%400!=0))

判断year是否闰年的表达式year%400==0______ year%4==0year%100!=0 ,请填写空缺部分

已知year为整型变量,能使表达式(year%4==0 year%100!=0)||year%400==0的值为“真”的数据是()。A.2019B.2020C.2018D.2017

已知year为整型变量,不能使表达式(year%4==0year%100!=0)||year%400==0的值为“真”的数据是_____A.1990B.1992C.1996D.2000

使用变量year代表年份,以下表示判断year是否为闰年的布尔表达式是 。A.(year % 4 == 0) and (not(year % 100 == 0)) or (year % 400 == 0)B.(year % 4 == 0) and (not(year % 400 == 0)) or (year % 100 == 0)C.(year % 4 == 0) and (year % 100 == 0) or (year % 400 == 0)D.(year % 4 == 0) or (not(year % 100 == 0)) and (year % 400 == 0)

判断是否闰年的表达式(如果是闰年则值为1,否则为0)为()A.((year%4==0)(year%100!=0))||(year%400==0)B.((year%4==0)((year%100!=0)||(year%400!=0)))C.((year%4==0)||(year%100!=0)(year%400==0))D.(year%4==0)||((year%100==0)(year%400!=0))