当前位置:网站首页>basic operator
basic operator
2022-08-02 03:34:00 【woshicaiji12138】
print(11/2) % divided byprint(11//2) % divisibleprint(11%2) % remainder The results are 5.5, 5, 1, respectively.
print(2**3) % means 2 to the power of 3print(2*3) % means 2 times 3The results were 8 and 6 respectively
print(9//-4)print(-9//4) % a positive and one negative integer formula, rounded downprint(9%-4) %remainder=dividend-divisor*Businessprint(-9%4) The results are -3, -3, -3, 3 respectively
边栏推荐
猜你喜欢
随机推荐
线性代数学习笔记3-2:矩阵乘法的理解
MySQL8.0安装教程,在Linux环境安装MySQL8.0教程,最新教程 超详细
5.nodejs--cross domain, CORS, JSONP, Proxy
动态代理工具类
线性代数学习笔记2-2:向量空间、子空间、最大无关组、基、秩与空间维数
cross-domain problem solving
DSPE-PEG-DBCO 磷脂-聚乙二醇-二苯并环辛炔 一种线性杂双官能聚乙二醇化试剂
MySQL占用CPU过高,排查原因及解决的多种方式法
HCIP Day 11_MPLS Experiment
MySQL常见的索引
SSM整合
MongoDB文档存储
3分钟带你了解微信小程序开发
AttributeError: ‘Upsample‘ object has no attribute ‘recompute_scale_factor‘
[详解C语言]一文带你玩转C语言小游戏---三子棋
多个el-select下拉框无法选中相同内容
DAY-1 | 求两个正整数的最大公约数与最小公倍数之和——辗转相除法
@Accessors 注解详解
Week 7 Review
SSM integration









