📜  逻辑运算符 python 代码示例

📅  最后修改于: 2022-03-11 14:46:38.805000             🧑  作者: Mango

代码示例2
x = 5
y = 6

d = 12 % 5     # d is 2
z = x + y      # z is 11
w = x - y      # w is -1
q = 5 * 6      # q is 30
u = 10 / x     # u is 2.0
p = 10 * 2.0   # p is 20.0
t = x ** 3     # t is 125
c = 28 // y    # c is 5