• 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

The previous week’s missions were: Family Dinner and Team Play. Check out the leaderboard, which should be open if you have solved them, and find out which solution was the best!

    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!
  • Python vs JavaScript. A great comparison, which will give you an understanding of JS from the Python user point of view, help you to choose the right language for your web development aspirations, show you how to write a shell script in JS, generate dynamic content on a web page, take advantage of the JavaScript ecosystem, and avoid common pitfalls in JavaScript.

The users who’ve made the TOP 3 this month are --Serial_Sniper--, NigrumAquila, and shobble. You are doing great, guys! Keep on coding!

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