title: How to use time.sleep() in milliseconds
body: <p>In my code I have a variable called 'time'.</p>
  <p>I set it to <code>2.0</code> (so I do not get an error when I subtract a float from an int).</p>
  <p>I do <code>time = time - 0.1</code> (this is so that when this line of code is repeated, it will be shorter by 0.1 seconds each time).</p>
  <p>But when I try and put it into <code>time.sleep</code> it won't let me (because it's a decimal)</p>
  <p>How can I do milliseconds instead so that I can just subtract 100 milliseconds instead?</p>
  <p><a href="https://i.stack.imgur.com/9Hn0U.png" rel="nofollow noreferrer">Look here for my code</a></p>