This week's mission: Stacking Cubes
Good day CheckiO users!
Challenge yourself with our latest mission:
stacking_cubes([(0, 0, 2), (1, 1, 2), (3, 2, 2)]) == 4 stacking_cubes([(0, 0, 2), (1, 1, 2), (1, 2, 1), (2, 2, 2)]) == 6 stacking_cubes([(0, 0, 2), (0, 2, 2), (0, 2, 2), (2, 0, 2), (2, 0, 2), (2, 0, 2), (2, 0, 2)]) == 8
Highlights from the world of Python:
- Check out a great tutorial on how to efficiently combine your data in Pandas using merge(), join(), and concat(). The clear examples and nice explanations to them will help you to better understand your data as you analyze it.
- You are interested in profiling your code to figure out how fast it executes? Find out how to do just that using a variety of tools. This may be very helpful when you'll need to optimize your code to match your changed needs by pinning down its weak points.
- Get an understanding on how to disassemble your Python code using the dis-module. It will give you a useful insight into the Python internals. By disassembling certain code pieces and inspecting the generated bytecode, you can see whether Python generates the same bytecode for certain code pieces or different bytecode. You have to know more!
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