Python学习 day1# 基本运算符#算数运算符# +、-、*、/a = 7b = 2print(a % b) #取模 取余数print(a ** b) #幂# print(a // b) #取整# # 比较运算符# print(a == b)# print(a != b)# print(a > b)# print(a < b)print(a >= b)print(a <= b)#赋值运算x = 1print(x)x = x + 6print(x)x += 6print(x)x -=
# 基本运算符#算数运算符# +、-、*、/a = 7b = 2print(a % b) #取模 取余数print(a ** b) #幂# print(a // b) #取整# # 比较运算符# print(a == b)# print(a != b)# print(a > b)# print(a < b)print(a >= b)print...