You are viewing a single comment's thread from:

RE: Daily Steem-Python Challenge #21, Win 1 Steem!

in #programming7 years ago

Here's my solution

I've assumed that the number of threads is optimal, when the addition of a new one improves the execution time of the algorithm by less than 5%. you can change this value by modifying STOP_CONDITION variable.

I've also changed head_block = blockchain.get_current_block_num()-int(sys.argv[1]) to head_block = blockchain.get_current_block_num(), which I believe is correct

Sort:  

I really very excited for it
I already learn python very easy language obviously it is a high level language which is easy for human
I am ready

Coin Marketplace

STEEM 0.16
TRX 0.13
JST 0.027
BTC 57941.45
ETH 2579.63
USDT 1.00
SBD 2.39