My code keeps running even when i hit “Stop”

后端 未结 0 410
闹比i
闹比i 2021-01-30 19:41

So my code looks like this:

from mDev import *
mdev = mDEV()
while True:
    distance=mdev.getSonic()
    x="%.2f" %distance
    print(x)
    time.sleep         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题