Sheela Gowthami’s Post

📚 Day 30/130 — Python Variables Today in my Python Programming Series, let’s understand one of the most important basics 👇 🔹 What is a Variable? A variable is a container used to store data values in a program. 🔹 Simple Understanding: 👉 Variable = Name that stores a value 🔹 Example: x = 10 name = "Gowthami" 👉 Here, "x" stores a number and "name" stores text 🔹 Rules for Variables: • Must start with a letter or underscore (_) • Cannot start with a number ❌ • No spaces allowed • Case-sensitive (name ≠ Name) 🔹 Types of Values Stored: • Integer → 10 🔢 • String → "Hello" 📝 • Float → 3.14 📊 • Boolean → True/False ✅ 🔹 Why Variables are Important? • Store data for reuse • Make programs dynamic • Improve readability 🔹 Key Idea: 👉 Variables help us store and use data easily in programs 📊See the diagram below for better understanding 📌 Tomorrow’s Topic: 👉 Python Data Types #Python #Programming #Coding #TechLearning #LearningInPublic #Students #Developer #100DaysOfCode

  • diagram

Good but try like this: 1)Strings 2) integers 3) Boolean 4) variables 5) float. Keep trying 💪, explore more 🫡.

To view or add a comment, sign in

Explore content categories