create account

Daily Steem-Python Challenge #15, Win 1 Steem! by steempytutorials

View this thread on: hive.blogpeakd.comecency.com
· @steempytutorials ·
$3.31
Daily Steem-Python Challenge #15, Win 1 Steem!
<center>https://cdn.discordapp.com/attachments/404587860872921088/405329216280723458/challenge.png</center>

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](https://github.com/amosbastian/steempy-tutorials/tree/master/part_15) and change it to be able to do the following

1. For a given account analyse all the accounts it is following. For each account followed use the mutual followers and following to calculate how much these accounts have in common relatively. Then print out a list sorted for highest %.

For example:

Account1 shares 50% of followers with account2 and 34% of following

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 15: How To Check If An Account Is Following Back And Retrieve Mutual Followers/Following Between Two Accounts](https://steemit.com/utopian-io/@steempytutorials/part-15-how-to-check-if-an-account-is-following-back-and-retrieve-mutual-followers-following-between-two-accounts)

---

If you have questions about the tutorial or the challenge then don't hesitate to comment below or contact us on [Discord](https://discord.gg/rYTV87W)!
👍  , , , , , , , , , , , , , , , , , , , , , ,
properties (23)
authorsteempytutorials
permlinkdaily-steem-python-challenge-15-win-1-steem
categoryprogramming
json_metadata{"tags":["programming","python","contest","bot"],"image":["https://cdn.discordapp.com/attachments/404587860872921088/405329216280723458/challenge.png"],"links":["https://github.com/amosbastian/steempy-tutorials/tree/master/part_15","https://steemit.com/utopian-io/@steempytutorials/part-15-how-to-check-if-an-account-is-following-back-and-retrieve-mutual-followers-following-between-two-accounts","https://discord.gg/rYTV87W"],"app":"steemit/0.1","format":"markdown"}
created2018-01-27 21:17:09
last_update2018-01-27 21:17:09
depth0
children5
last_payout2018-02-03 21:17:09
cashout_time1969-12-31 23:59:59
total_payout_value3.225 HBD
curator_payout_value0.087 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,405
author_reputation31,094,047,689,691
root_title"Daily Steem-Python Challenge #15, Win 1 Steem!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id32,835,796
net_rshares400,155,135,200
author_curate_reward""
vote details (23)
@aashishkandel ·
do you have youtube/ dtube link or something so that I can learn more about steemit api and python implementation ?
properties (22)
authoraashishkandel
permlinkre-steempytutorials-daily-steem-python-challenge-15-win-1-steem-20180128t021211967z
categoryprogramming
json_metadata{"tags":["programming"],"app":"steemit/0.1"}
created2018-01-28 02:12:12
last_update2018-01-28 02:12:12
depth1
children1
last_payout2018-02-04 02:12:12
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length115
author_reputation4,731,147,170,715
root_title"Daily Steem-Python Challenge #15, Win 1 Steem!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id32,884,985
net_rshares0
@juliank ·
No we do not make videos at this moment only articles. However, there is enough information available for you to start
properties (22)
authorjuliank
permlinkre-aashishkandel-re-steempytutorials-daily-steem-python-challenge-15-win-1-steem-20180128t121947226z
categoryprogramming
json_metadata{"tags":["programming"],"app":"steemit/0.1"}
created2018-01-28 12:19:48
last_update2018-01-28 12:19:48
depth2
children0
last_payout2018-02-04 12:19:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length118
author_reputation117,823,071,447,502
root_title"Daily Steem-Python Challenge #15, Win 1 Steem!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id32,990,765
net_rshares0
@luj1 ·
https://pastebin.com/Ax4PphV7
properties (22)
authorluj1
permlinkre-steempytutorials-daily-steem-python-challenge-15-win-1-steem-20180127t221555474z
categoryprogramming
json_metadata{"tags":["programming"],"links":["https://pastebin.com/Ax4PphV7"],"app":"steemit/0.1"}
created2018-01-27 22:15:54
last_update2018-01-27 22:15:54
depth1
children1
last_payout2018-02-03 22:15:54
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length29
author_reputation913,538,372
root_title"Daily Steem-Python Challenge #15, Win 1 Steem!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id32,845,700
net_rshares0
@luj1 ·
@juliank
properties (22)
authorluj1
permlinkre-luj1-re-steempytutorials-daily-steem-python-challenge-15-win-1-steem-20180204t165622013z
categoryprogramming
json_metadata{"tags":["programming"],"users":["juliank"],"app":"steemit/0.1"}
created2018-02-04 16:56:24
last_update2018-02-04 16:56:24
depth2
children0
last_payout2018-02-11 16:56:24
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length8
author_reputation913,538,372
root_title"Daily Steem-Python Challenge #15, Win 1 Steem!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id34,931,432
net_rshares0
@oups ·
$0.12
https://media.giphy.com/media/3o6fJ7uaPs0w3jLlXa/giphy.gif
👍  
properties (23)
authoroups
permlinkre-steempytutorials-daily-steem-python-challenge-15-win-1-steem-20180127t212647815z
categoryprogramming
json_metadata{"tags":["programming"],"image":["https://media.giphy.com/media/3o6fJ7uaPs0w3jLlXa/giphy.gif"],"app":"steemit/0.1"}
created2018-01-27 21:26:48
last_update2018-01-27 21:26:48
depth1
children0
last_payout2018-02-03 21:26:48
cashout_time1969-12-31 23:59:59
total_payout_value0.096 HBD
curator_payout_value0.027 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length58
author_reputation20,674,011,682,802
root_title"Daily Steem-Python Challenge #15, Win 1 Steem!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id32,837,441
net_rshares15,322,966,217
author_curate_reward""
vote details (1)