Simple Email Mission
Hello CheckiO users! 🙂
Last week we had new three very simple missions. Today's leaderboard should be opened, so check the best solution for those missions.
Also, we had Python 3.10 release, but without scipy, but is fixed now.
Challenge yourself with our missions
Unique Email Addresses - (a very easy mission) Given an array of strings - valid emails, return the number of unique emails.
unique_emails( [ "firstname.lastname@example.org", "email@example.com", "firstname.lastname@example.org", "email@example.com", "firstname.lastname@example.org", "email@example.com", ] ) == 2
Delivery Drone by kurosawa4434 - The input value is a list of integers. One or more numbers of this list represent the existence of the package(s) to be transported and its destination. You have to return the shortest moving distance for the drone to complete all transportation as an integer.
delivery_drone([0, 2, 0]) == 4 delivery_drone([0, 0, 1, 2]) == 6
💡 3 Highlights from the Python world:
Mastering Structural Pattern Matching - Anatomy of the Pattern Matcher Syntax The match statement
Project: Command-Line To-Do App With Python and Typer - In this tutorial, you’ll build a functional to-do application for the command line using Python and Typer, which is a relatively young library for creating powerful command-line interface (CLI) applications in almost no time.
Cython, Rust, and more: choosing a language for Python extensions - Different situations require different approaches. So don’t just pick the tool you’re most familiar with—though you should definitely take that into account in your decision!
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