"perfectly palanced, as all things should be."
A fun and educational Python project that simulates the legendary Thanos Snap by randomly eliminating half of any dataset—files, records, or lists. Great for beginners exploring Python concepts, or Marvel fans who want a dramatic coding experience!
This project demonstrates Python fundamentals through a creative twist. Provide a list or target directory, and the script will “snap” away 50% of its contents using randomization.
You can use it to learn:
- File handling
- Randomization
- Data structures
- Timed effects
- Modular programming
💥 Snap exactly 50% of items
📁 Works on lists or folders
🎭 Optional dramatic ASCII snap
🕒 Delayed cinematic effects
🔧 Easy-to-extend modular code
git clone https://github.com/MuhammadRuby/Thanos-Project-using-python.git
cd thanos-project
python snap_demo.py
💜 # Inspired By
Marvel’s Avengers: Infinity War
“Perfectly balanced, as all things should be.”
