start = 10 while start > 0: print('Exploding in {} seconds'.format(start)) # print('Exploding in %s seconds' % start) start -= 1 print('BOOM!!!')