This week’s mission: On the same path
Recently, we’ve had a big update. It’s not quite visible yet, since it was an internal software update, but this will allow us to move forward in 2020. If you notice any bugs, do what you always did, post them on the forum. We will try to respond ASAP.
Test yourself and have fun with the new mission we have for you:
The mission is called “On the same path”, created by Phil15, where you have to write a function that receives a tree and a list of pairs of tree's nodes, and determine whether two noves in each pair are on the same path.
on_same_path( ('Me', [('Daddy', [('Grandpa', ), ('Grandma', )]), ('Mom', [('Granny', ), ('?', )])]), [('Grandpa', 'Me'), ('Daddy', 'Granny')], ) == [True, False]
Check out some interesting articles we’ve selected for you:
- Poetry 1.0.0 is now available! Managing Python projects became even easier. Hurry to check it out!
- The Little Book of Python Anti-Patterns is quite useful! Learning about these anti-patterns will help you to avoid them in your own code and make you a better programmer. Each pattern comes with a small description, examples and possible solutions. It might be something worth looking into!
- What to find some hidden gems of the open-source world to get you started on your new project or spice up your existing ones? Look into the Top 10 Python libraries of 2019. You’ll find machine learning and non-machine learning libraries. Here might be something you need!
Welcome to CheckiO - games for coders where you can improve your codings skills.
The main idea behind these games is to give you the opportunity to learn by exchanging experience with the rest of the community. Every day we are trying to find interesting solutions for you to help you become a better coder.Join the Game