Skip to content
I need help slowing down a python loop
Profile icon
ia13ru

Hi,
I am makin this game. I want to slow down the 'for i in range(3) ' loop in ' if key==""'. How do I do this?

You are viewing a single comment. View All
Profile icon
ruiwenge2

you can use this:

import time # insert code here time.sleep(1)

You can change the 1 to however many seconds you would like.