def _download_progress_cb(blocknum, blocksize, totalsize):
readsofar = blocknum * blocksize<EOL>if totalsize > <NUM_LIT:0>:<EOL><INDENT>percent = readsofar * <NUM_LIT> / totalsize<EOL>msg = "<STR_LIT>" % (<EOL>percent, len(str(totalsize)), readsofar, totalsize)<EOL>print(msg)<EOL>if readsofar >= totalsize:  <EOL><INDENT>print("<STR_LIT:\n>")<EOL><DEDENT><DEDENT>else:  <EOL><INDENT>print("<STR_LIT>" % (readsofar,))<EOL><DEDENT>
Banana Banana