Print Only Seconds for perf_counter()

后端 未结 0 546
忘了有多久
忘了有多久 2020-12-11 10:29

My code is this:

import time
import winsound

frequency = 2500
duration = 1000

while time.perf_counter() < 5:
    print(time.perf_counter())

winsound.Bee         


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