-
What If Figures In Tetris Will Be Delivered By Drones?
Hello, checkiomates🐱👤!
Discover why something works at your machine and might not working at other, try to create a simple version of tetris game, play with drone delivery new and more and more...just have fun at CheckiO!
💡TIP
We allow users to assign hotkeys to "Run Code", "Check Solution" and stop code. You may see current combinations on buttons and change them in editor menu. If you want to discover all CheckiO features, visit our tutorial. It's a longread, but it's worth it!
🏁MISSION
Drone Trips by freeman_lex -
You need to transport three empty boxes using a drone that can only lift one box at a time on each trip. In other words, you can always transport the three empty boxes by making three trips with the drone. But you might be able to do less than three trips if you can put one box inside another. The boxes are cube-shaped and the only restriction on placing one box inside another is size, regardless of weight.
flights(1, 2, 4) == 1 flights(1, 2, 2) == 2 flights(2, 2, 5) == 1
📖ARTICLES
Tetris in Python for Beginners | Programming Basic Concepts -
n this video, we'll explore a Python-based implementation of the classic Tetris game. Our version of Tetris, built using the Pygame library, features smooth gameplay, and all Tetromino shapes. Video provides comprehensive walkthrough of the code and design decisions that went into creating this implementation. You'll have a solid understanding of how to build your own Tetris game in Python and be inspired to experiment with new features and customizations.
It works on my machine. Why? -
We’ve all been here. Something works just fine on your computer but not on someone else’s. The root problem might be tricky, so I listed possible things you can investigate. Next time it happens, you have a list of things to check.
Lists vs Tuples in Python Quiz -
Challenge yourself with this quiz to evaluate and deepen your understanding of Python lists and tuples. You’ll explore key concepts, such as how to create and manipulate these data types, while also learning best practices for using them efficiently in your code.
👩💻CODE SHOT
How do you think, what the following code does?
def ????????(data: set, total: int) -> set: return set(sorted(data)[total:-total]) if total else 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! ⤵
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