Back-End Programming Exam  >  Back-End Programming Videos  >  Python Tutorial in Hindi  >  Python tutorials in Hindi 03 : Variables .

Python tutorials in Hindi 03 : Variables . Video Lecture | Python Tutorial in Hindi - Back-End Programming

FAQs on Python tutorials in Hindi 03 : Variables . Video Lecture - Python Tutorial in Hindi - Back-End Programming

1. क्या पायथन में वेरिएबल्स का उपयोग क्यों किया जाता है?
उत्तर: पायथन में वेरिएबल्स का उपयोग डेटा को संग्रहीत करने और उसे बाद में प्रयोग करने के लिए किया जाता है। इसके द्वारा हम अपनी प्रोग्राम में डेटा को संग्रहीत कर सकते हैं और उसे विभिन्न ऑपरेशनों के लिए उपयोग कर सकते हैं।
2. कैसे पायथन में एक वेरिएबल को घोषित किया जाता है?
उत्तर: पायथन में वेरिएबल्स को घोषित करने के लिए हमें सिर्फ एक नाम और उसके बाद एक असाइनमेंट ऑपरेटर (=) का उपयोग करना होता है। उदाहरण के लिए, यदि हम एक वेरिएबल num को घोषित करना चाहते हैं और उसे 10 के समान रखना चाहते हैं, तो हम निम्नलिखित कोड का उपयोग करेंगे: num = 10
3. पायथन में कितने प्रकार के वेरिएबल्स होते हैं?
उत्तर: पायथन में तीन प्रकार के वेरिएबल्स होते हैं: - नंबर (जैसे: 10, 3.14) - स्ट्रिंग (जैसे: "Hello, World!", 'Python') - बूलियन (जैसे: True, False)
4. पायथन में वेरिएबल्स को कैसे अपडेट किया जाता है?
उत्तर: पायथन में वेरिएबल्स को अपडेट करने के लिए हम उनकी मूल्यों को परिवर्तित कर सकते हैं। इसके लिए हमें वेरिएबल का नाम उपयोग करना होगा, उसके बाद एक असाइनमेंट ऑपरेटर (=) का उपयोग करें और फिर नई मूल्य को दे दें। उदाहरण के लिए, यदि हम वेरिएबल num की मूल्य को 20 से अपडेट करना चाहते हैं, तो हम निम्नलिखित कोड का उपयोग करेंगे: num = 20
5. क्या हम पायथन में वेरिएबल्स को एक साथ घोषित कर सकते हैं?
उत्तर: हां, हम पायथन में एक साथ एकाधिक वेरिएबल्स को घोषित कर सकते हैं। उन्हें अलग-अलग नामों से अलग-अलग लाइनों पर घोषित किया जा सकता है। उदाहरण के लिए, हम निम्नलिखित कोड का उपयोग कर सकते हैं: num1 = 10 num2 = 20 num3 = 30
Related Searches

shortcuts and tricks

,

Previous Year Questions with Solutions

,

Python tutorials in Hindi 03 : Variables . Video Lecture | Python Tutorial in Hindi - Back-End Programming

,

Exam

,

practice quizzes

,

Python tutorials in Hindi 03 : Variables . Video Lecture | Python Tutorial in Hindi - Back-End Programming

,

MCQs

,

Viva Questions

,

ppt

,

pdf

,

Important questions

,

Semester Notes

,

study material

,

Python tutorials in Hindi 03 : Variables . Video Lecture | Python Tutorial in Hindi - Back-End Programming

,

Summary

,

video lectures

,

Free

,

mock tests for examination

,

Sample Paper

,

Extra Questions

,

past year papers

,

Objective type Questions

;