📖 Coding lessons · 2 of 4 · 4 min

वेरिएबल: मान रखने के डिब्बे

वेरिएबल नाम वाला डिब्बा है जिसमें मान रखा जाता है। Python में:

name = "Asha"
score = 10
score = score + 5
print(name, score)

यह छापता है Asha 15। डिब्बे का मान 10 से 15 हो गया।

मानों के प्रकार: पूर्ण संख्या (int, 10), दशमलव (float, 3.14), टेक्स्ट (str, "Asha") और True / False (bool)।

💡 अच्छे नाम ख़ुद समझाते हैं: marks_total, x से बेहतर है। नाम अंक से शुरू नहीं हो सकते, न उनमें स्पेस हो सकता है।

🎯 करके देखें

a = 4 और फिर a = a * 2 के बाद a क्या है?

Contact Shuddhi

Like what you see? Take the next step.

Start small and do more whenever you are ready — everything is free to join.

  1. GiveFor you

    Donate once or every month. 80G receipt by email from ₹100.

  2. Volunteer

    Weekends on the ground or online from home. Certificate after one month.

  3. Raise funds

    Start a free campaign for a cause, a person or an NGO and share it with friends.

  4. Lead & partner

    Take on more: coordinate a team, bring your NGO on board or partner as a company.