Skip to content

Latest commit

 

History

History
44 lines (27 loc) · 1.12 KB

File metadata and controls

44 lines (27 loc) · 1.12 KB

Thanos Project - python edition

alt text

"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!

🚀 Overview

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

✨ Features

💥 Snap exactly 50% of items
📁 Works on lists or folders
🎭 Optional dramatic ASCII snap
🕒 Delayed cinematic effects
🔧 Easy-to-extend modular code

Installation

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.”