• This week’s mission: Magic with 5 cards


Hi, guys!

Test yourself and have fun with the new mission we have for you:

The mission is called “Magic with 5 cards” authored by Phil15 where you’ll have to create two functions (bot and magician) in order to perform an automatic magic trick.

bot('A ♥', '3 ♦', 'K ♠', 'Q ♣', 'J ♦', n=1) == ['J ♦', 'A ♥', 'Q ♣', 'K ♠']
magician('J ♦', 'A ♥', 'Q ♣', 'K ♠', n=1) == '3 ♦'
    Check out some interesting articles we’ve selected for you:
  • Have you ever wanted to use Python functions directly in your Unix shell? Mario is the plumbing snake helping you build data pipelines in your shell. You'll be able to execute Python code in your shell, read and write csv, json, yaml, toml, xm, run async functions natively, define your own commands, etc. You have to know more!
  • Check out a great tutorial about Python Descriptors which will help you understand this powerful feature. You’ll be able to understand what Python descriptors are, where they’re used in Python’s internals, how to implement your own descriptors, and when to use them.
  • If you want to learn how to mine, process, and analyze data from the social web in meaningful ways with the Python programming language, the book "Mining Social Media" might be just what you are looking for. In it you'll find out how to use technical tools to collect and analyze data from social media sources to build compelling, data-driven stories. It's something to consider!

The users who’ve made the TOP 3 this month are HeNeArKr, mortonfox, and obone. 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