Which option is the meaning of x%y in Python?____.
A.
A: The integer quotient of x and y
B: The quotient of x and y
C: x to the y power
D: The remainder of the quotient of x and y
A.
A: The integer quotient of x and y
B: The quotient of x and y
C: x to the y power
D: The remainder of the quotient of x and y
举一反三
- Python中能够实现两个变量值互换的代码是()。 A: x,y = y,x B: x = y<br>y =x C: x = y, y=x D: (x = y, y=x)
- 下列代码执行后,窗体上显示( )。 Dim x As Integer, y As Integer x = 50: y = 30 If x > y Then x = x - y Else y = y x If x < y Then x = x 20 Form1.Print x, y
- 下面哪些定义是类型正确的? A: f :: (Integer, Integer) - Floatf (x,y) =x / y B: f :: (Integer, Integer) - Floatf (x,y) = (fromInteger x) / (fromInteger y) C: f :: (Integer, Integer) - Floatf (x,y) = 3*x + y D: f :: (Integer, Integer) - Integerf (x, y) = 3*x + y
- Which is the correct operator for power(Xy)? ( ) A: X^^y B: X^y C: None of the mentioned D: X**y
- Python中能够实现两个变量值互换的代码是()。 A: x,y = y,x B: x = y y =x C: x = y, y=x D: (x = y, y=x)