当前位置:网站首页>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 3
The 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
边栏推荐
- @Autowired详解[email protected]在static属性上的使用
- A senior test engineer asked me these questions as soon as the interview came
- 科研试剂DMPE-PEG-Mal 二肉豆蔻酰磷脂酰乙醇胺-聚乙二醇-马来酰亚胺
- ModuleNotFoundError No module named ‘xxx‘可能的解决方案大全
- 通过PS 2021 将网页图标抠下来
- OD-Model【4】:SSD
- Redis简单学习笔记
- Week 7 Review
- Small program (necessary common sense for development) 1
- 分布式领域最重要的一篇论文,到底讲了什么?
猜你喜欢
Scaffolding installation
DSPE-PEG-DBCO 磷脂-聚乙二醇-二苯并环辛炔 一种线性杂双官能聚乙二醇化试剂
小程序(开发必备常识)1
离线数仓-用户行为采集
UserWarning:火炬。meshgrid:在以后的版本中,它将被要求通过索引ing argu
CV-Model【4】:MobileNet v3
Redis安装,基本命令,持久化方式,集群
Keil开发环境安装教程
UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the index ing argu
AttributeError: ‘Upsample‘ object has no attribute ‘recompute_scale_factor‘
随机推荐
STL entry basics map and set containers
[详解C语言]一文带你玩转C语言小游戏---扫雷
np.unique()函数
AttributeError: Can't get attribute 'SPPF' on
@Autowired详解[email protected]在static属性上的使用
SOCKS5
Flexbox flex property
Deveco studio 鸿蒙app访问网络详细过程(js)
化学试剂磷脂-聚乙二醇-羟基,DSPE-PEG-OH,DSPE-PEG-Hydroxyl,MW:5000
磷脂-聚乙二醇-醛基 DSPE-PEG-Aldehyde DSPE-PEG-CHO MW:5000
线性代数学习笔记2-1:向量和向量组、线性相关性(张成空间的概念)
磷脂-聚乙二醇-叠氮,DSPE-PEG-Azide,DSPE-PEG-N3,MW:5000
PCL—点云数据分割
Week 7 Review
黑马案例--实现 clock 时钟的web服务器
二维数组实战项目--------《三子棋》
MongoDB文档存储
(Reposted) The relationship between hashcode and equals
2022ACM夏季集训周报(五)
Daily practice------There are n integers, so that the previous numbers are moved back m positions in order, and the last m numbers become the first m numbers