物联网园丁的头像 ID: 49153915920

物联网园丁

HelloWorld 社区成员

3225628109

文章4
个人网站0
加入社区2025

你不知道的console

<blockquote在代码执行不如意的情况下,最常用的就是使用debuger和console.log()。</blockquote然而关于console,比想像的更强大。使用不同的方法来区分信息的不同<pre<codeconsole.log(&39;日志&

leetcode390.Elimination Game

题目要求<pre<codeThereisalistofsortedintegersfrom1ton.Startingfromlefttoright,removethefirstnumberandeveryothernumberafte

python中精确的浮点数运算

起步浮点数的一个普遍的问题是它们不能精确的表示十进制数。<pre<code&gt;&gt;&gt;a4.2&gt;&gt;&gt;b2.1&gt;&gt;&gt;ab6.300000000000001&gt;&gt;&gt;(ab)