This week's missions: Workout and Home Coming
Good day CheckiO users!
Challenge yourself with our latest missions created by Vasily__Chibilyaev:
The first mission is called Workout and here you have to figure out the minimum difficulty of a created fitness program.
workout([100, 200, 230], 1) == 50 workout([10, 13, 15, 16, 17], 2) == 2
The second is Home Coming in which you need to find out the maximum number of souvenirs that can be taken while respecting the set conditions.
home_coming([1, 1, 4, 1, 4, 4], 2) == 4 home_coming([1, 2, 5, 3, 4, 5, 6, 7], 1) == 6 home_coming([1, 2, 8, 8, 8, 8, 8, 3, 4, 1], 1) == 4
Highlights from the world of Python:
- Check out the dissection of the Python decorators anatomy. Decorators is an advance topic. They can give you the ability to add new functionalities to any callable without actually touching or changing the code inside it. Therefore, it should be very useful!
- No Ads
- No Limits
- More Content
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