Answers for "how to make a tick update in python"

1

how to make a tick update in python

lasttick = -0.01
tick = float(0.00)
while True:
  tick = tick + float(0.01)
  if tick > lasttick:
    #Your tick update here:
    print(tick) #Prints the tick
  lasttick = lasttick + 0.01
Posted by: Guest on January-15-2022

Code answers related to "how to make a tick update in python"

Python Answers by Framework

Browse Popular Code Answers by Language