
Hello, checkiomates🐱👤!
Additionally to our usual agenda we offer you to read one of our forum posts Learning approaches on Checkio?, where author wants to maximize learning from solving CheckiO missions by expanding their Python knowledge and improving problem-solving intuition with three different approaches.
This edition covers essential topics for Python enthusiasts. Explore the high-level tools for powerful data visualization with PyViz, uncover popular tutorials shaping Python learning in 2024, and dive into the complexities of Python concurrency. To top it off, tackle a fun coding challenge: determine the optimal pairing of tennis doubles with Python logic.
💡TIP
If you find an interesting solution, you may add it to your bookmarks by clicking the flag near solution title. You can find all your bookmarked solutions by clicking your nickame and then "Bookmarks". If you want to discover all CheckiO features, visit our tutorial. It's a longread, but it's worth it!
🏁MISSION
Tennis Doubles by freeman_lex -
Four friends have agreed to play doubles tennis. Each of the friends has a level of play, which is represented by a positive integer: the higher the number, the better the player's level. The four friends want to form pairs to start the game. To make the game more interesting, they want the levels of the two teams to be as close as possible. The level of a team is the sum of the levels of the players on the team. Although they are very good tennis players, the four friends are not very good at some other things, such as logic or mathematics. Can you help them and find the smallest possible difference between the levels of the teams that can be formed?
level_dif([1, 2, 3, 4]) == 0 level_dif([5, 5, 5, 5]) == 0 level_dif([1, 9, 3, 2]) == 5
📖ARTICLES
PyViz: Python Tools for Data Visualization -
This site contains an overview of all the different visualization libraries in the Python ecosystem. If you’re trying to pick a tool, this is a great place to better understand the pros and cons of each.
Learn From 2024's Most Popular Python Tutorials and Courses -
Revisit your favorite Real Python tutorials and courses from 2024. You can explore various topics, from mastering Python basics to creating innovative projects and optimizing your workflow. It’s been an exciting year of learning, and there’s something for everyone to build upon in 2025.
Python Concurrency: Threads, Processes, and asyncio Explained -
A practical guide to Python concurrency using a Fibonacci server to demonstrate the strengths and limitations of threads, processes, and asyncio. Learn when to use each approach through hands-on examples
👩💻CODE SHOT
How do you think, what the following code does?
def ??????????(data: set, total: int) -> set: if total: return set(sorted(data)[total:-total]) return data
🙌 Thanks for your attention! Hope to meet you at CheckiO, as well as at our Instagram and Twitter! We are really interested in your thoughts! Please, leave a comment below! ⤵