import time for i in range(11): time.sleep(1) print('\r{}% {}'.format(i * 10, '#' * i), end='')
Standard input is empty
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!