![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
进击的菜鸟n
这个作者很懒,什么都没留下…
展开
-
Python逻辑运算符和算数运算符
Python算数运算符1、Python的算数运算符有:+ - * / // % **2、除法 / 与地板除法 //除法的计算结果是浮点数:>>> 10/52.0>>> 10/81.25地板除法计算结果为整数:>>> 10//33>>>-9//2 -5 #向下取整3、幂运算符:**>>> 2**38>>> 5**225原创 2021-07-01 13:17:30 · 246 阅读 · 0 评论 -
Python运算符的优先级
Python运算符的优先级其中,逻辑运算符的优先级:not>and>or原创 2021-07-01 13:17:05 · 182 阅读 · 0 评论