题库 第955页
单选题:以下代码输出结果为?
x = Truey = Falsez = Falseif x or y and z: print("yes")else: print("no")A.yesB.noC.编译出错答案:A…
单选题:以下代码输出结果为?
x = Truey = Falsez = Falseif not x or y: print(1)elif not x or not y and z: print(2)elif not x or y or not y and x…
编程题:Simple addition
This is a simple addition.Please read in two integers A and B, and then output their sum.### Input Specification:Enter t…
编程题:college student
Enter the name and output: XXX(the entered name), you are a college student now.### Input Specification:Enter your name…
编程题:cube
Calculate the third power of an integer.### Input Specification:Input an integer.### Output Specification:Print the cubi…
编程题:reduce weight
Tom wants to lose weight. He set himself a goal to lose weight, lose the specified weight within the specified number of…