So I want to make a program that increases in 'count'. Every interval of 1 000 000, I want the program to say: "(1),000,000" marked has been reached. Of course I want that (1) to be replaced with 2, 3, 4, 5, 6 etc, whenever the interval has been reached. So when the two million mark has been reached I want it to say "2,000,000" mark has been reached."
Here is a simplified version of what my program is doing. However it is fixed to the intervals that I have set.
count = 0
while True:
count += 1
if count == 1000000:
print("The 1000000 mark has been reached.")
if count == 2000000:
print("The 2000000 mark has been reached.")
if count == 3000000:
print("The 3000000 mark has been reached.")