Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
MicroPython 如何实现在某个区间的判断,例如:if blob.pixels() >100 and <300: #这样写报错了!
1,
if blob.pixels() >100 and blob.pixels() <300:
2,
if 100 < blob.pixels() < 300:
参考: https://cn.bing.com/search?q=python+范围判断&form=QBLH&sp=-1&pq=python+范围判断&sc=0-11&qs=n&sk=&cvid=6CC776551B4242A3A7AD5C7CA88080D5