Питон: счетчик

import time
from time import sleep, time

can_run = True
the_number = 0

end_number = 11 #you can change the number to be last counted

while can_run:
    print(the_number)
    sleep(1)
    the_number = the_number + 1
    if  the_number == end_number: 
        can_run = False
dl.guy