Trying to make a file that tests how many seconds it takes for python to use a while loop to count how many seconds 1000 loops takes. Not working, I don't know why. Every time I run this it outputs "('It took 0,0')"...The while loop didn't start.
import time
import math
count = 0
PrevTime = time.time()
while count < 1000:
count +=1
if count == 1000:
print ("It took ", time.time() - PrevTime)
raw_input()