For each tutorial we release there will be a relevant challenge where the winner receives 1 STEEM!
Challenge
Take the code from the tutorial from here and change it to be able to do the following
- For each vote that was done before 30 minutes calculate the curation reward they would've received if they voted after 30 minutes. Compare this to their actual curation reward (print both) and show how much more the author got in rewards because of them voting before 30 minutes.
That's it! Good luck to everyone participating!
Deadline
The prize money will be rewarded to the person that solves the problem first. If there is no solution within 7 days after this post has been submitted the prize pool expires.
Relevant Tutorial
Part 12: How To Estimate Curation Rewards Using Steem-Python
If you have questions about the tutorial or the challenge then don't hesitate to comment below or contact us on Discord!
Maybe something like this? https://pastebin.com/HsnX0H6Y
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
I can't run this without getting
TypeError: must be str, not float
.Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Oh, my fault. Sorry. https://pastebin.com/5f5A2fwi
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Seems like the correct solution, congratulations!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Nice, thank you :)
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
What happened to the weekly challenges, too? 😜
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Initially the idea was to do weekly challenges, but we quickly realised that is was better to do a challenge for each tutorial. So there are no weekly challenges anymore. I will change the text
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit