How to win quiz with python and semantic wikipedia

1 points by toppy ↗ HN
Task: Give the names of all Polish kings that died in a battle.

Python:

for king in history.sets.PolishKings: if king.died_in_the_battle(): print king.name

Where one can find such set: history.sets.PolishKings?

0 comments

[ 2.5 ms ] story [ 11.6 ms ] thread

No comments yet.