F PAYTHON LESSON 5 - INDIA GOOGLE ALL FARMATA

INDIA GOOGLE ALL FARMATA

The purpose of india google all farmate is to provide information related to news, education, technology, general information, general knowledge, mponline vacancy government rdvv admission, counselling, course, computer, virus,mobile,latest bharti news, information local, AI artificial intelligent


Wikipedia

Search results

Translate

03 June, 2025

PAYTHON LESSON 5

Python में Variables क्या हैं? | Lesson 5 हिंदी में Python Variables in Hindi

Lesson 5: Python में Variables (चर) क्या होते हैं?

Python में Variable यानी "चर" एक नामित स्थान होता है, जहाँ आप कोई value (मान) स्टोर करते हैं। उदाहरण के लिए, अगर आप x = 5 लिखते हैं, तो आपने x नाम के variable में 5 value रखी है।

English: In Python, a variable is a named location used to store data in memory. Example: x = 5 stores 5 in variable x.

Variables कैसे बनते हैं? (Syntax)

# एक variable बनाने का उदाहरण
x = 10
name = "Rahul"
price = 99.99
print(x, name, price)

Variable के प्रकार

डेटा प्रकार उदाहरण
int (पूर्णांक) x = 10
float (दशमलव) price = 99.99
str (स्ट्रिंग) name = "Python"
bool (बूलियन) is_active = True

Python Variable Naming Rules

  • Variable का नाम letter या underscore (_) से शुरू होना चाहिए।
  • नाम में spaces या special characters नहीं होने चाहिए।
  • Python के keywords को variable के नाम के रूप में इस्तेमाल नहीं किया जा सकता।

Variable का उपयोग कहाँ होता है?

Python में variables का उपयोग हर जगह होता है – जैसे:

  • डाटा स्टोर करने के लिए
  • user input रखने के लिए
  • mathematical calculation करने के लिए
Python Variables Chart

निष्कर्ष (Conclusion)

Variables किसी भी programming language की नींव होते हैं। Python में variables बहुत आसान और लचीले होते हैं। आप बिना data type declare किए भी सीधे वैल्यू assign कर सकते हैं।

लेखक: [आपका नाम] – Python और Tech में रुचि रखने वाले एक स्वतंत्र लेखक।

No comments:

Post a Comment

thank to you

india google all farmate

india google all farmate
IGAF