Installing Python & Writing Your First Program with Adeel Sajjad

🚀 Day 2/60 – Installing Python & Writing Your First Program Yesterday we answered: What is Python? Today, let’s get our hands dirty 👇 🛠️ Step 1: Install Python 1️⃣ Go to: https://www.python.org 2️⃣ Download the latest version 3️⃣ IMPORTANT: Tick ✅ “Add Python to PATH” during installation 4️⃣ Click Install Done. That’s it. 💻 Step 2: Verify Installation Open terminal / command prompt and type: python --version If you see something like: Python 3.x.x You’re ready to go 🎉 ✍️ Step 3: Your First Python Program Create a file called: hello.py Add this line: print("Hello, World!") Run it: python hello.py Boom 💥 You just executed your first Python program. 🧠 What just happened? • print() → displays output • "Hello, World!" → a string • Python executed your file line by line 🔥 Pro Tip (Important for beginners) Use a code editor like: • VS Code • PyCharm They make coding 10x easier. 🔥 Challenge for today 1️⃣ Install Python 2️⃣ Run your first program 3️⃣ Comment “DONE” when finished Follow Adeel Sajjad to become pro python programmer #Python #LearnPython #PythonProgramming #Coding #Programming

  • graphical user interface, application

To view or add a comment, sign in

Explore content categories