摘要: 运算符 +、-、* 都差不多 /:Python 和 JavaScript都会返回浮点数,ruby 返回整数 Python 的// 返回整数 运算符 Python Ruby Javascript 整除 // / Math.floor(a/b) 除法 / a.to_f / b / 乘方 ** ** ** 阅读全文
posted @ 2021-01-24 22:39 cp5670681 阅读(100) 评论(0) 推荐(0)