Python Program to Print Number Patterns

पाइथन में , विभिन्न प्रकार के patterns को प्रिंट करने के लिए for loop का उपयोग किया जाता है। ये interviews में सबसे ज्यादा पूछे जाने वाले प्रोग्रामिंग question है। आज हम number (0-9) से बने patterns को print करना सीखेंगे। Multiple for loop का Read more

Python Program to Print Star Patterns

पाइथन में , विभिन्न प्रकार के patterns को प्रिंट करने के लिए for loop का उपयोग किया जाता है। ये interviews में सबसे ज्यादा पूछे जाने वाले प्रोग्रामिंग question है। आज हम Star () से बने patterns को print करना सीखेंगे। आप Star (*) की Read more

Python Prime Number Program

What is Prime Number Prime number ऐसी संख्या होती है जो केवल खुद या 1 से ही divide होते हैं |उदाहरण के लिए : 7 एक prime number है क्योकि 7 केवल 1 और 7 से divide होता है। Programs को समझने के लिए, आपको Read more

Is Python a scripting language?

हाँ , पाइथन एक scripting ,general-purpose, high-level language है। यह object-oriented programming approach भी provide करता है। What is a Scripting Language? Scripting language वह लैंग्वेज होती है जिसमे हम compiler का उपयोग ना करके सीधे interpret का उपयोग करते है। अर्थात Scripting language में Read more

Python : Make a Simple Calculator

आज आप पाइथन लैंग्वेज की सहायता से एक simple calculator बनाना सीखेंगे जो उपयोगकर्ता के इनपुट के आधार पर जोड़, घटा, गुणा या भाग आदि कर सकता है। इस उदाहरण को समझने के लिए, आपको निम्नलिखित Python programming topics का knowledgeहोना चाहिए: Python input ( Read more

Python : Operators in Hindi

ऑपरेटर , symbol को define करता है। Operators का उपयोग दो या उससे अधिक operands (variable & values ) के बीच ऑपरेशन को perform करने के लिए किया जाता है। Arithmetic operators Assignment operators Comparison operators Logical operators Identity operators Membership operators Bitwise operators Arithmetic Read more

Python : Dictionaries Method

Method Description clear() clear() मेथड dictionary के सारे elements को remove करता है। copy() copy() मेथड specific dictionary की copy को return करता है। fromkeys() Returns a dictionary with the specified keys and value get() get() मेथड किसी item की value को उसके key के Read more

Python : Dictionaries in Hindi

Dictionaries key:value के pairs में data value को स्टोर करता है। Dictionaries, curly brackets {} के साथ लिखे जाते है जिसमे key और values होते है। Dictionaries mutable होती है अर्थात इसमें changes कर सकते है। Dictionaries duplicate आइटम को allow नहीं करता। Dictionaries में Read more

Python : Set Methods

Method Description add() set के अंदर नया element add करना। clear() set के सारे element को remove करता है। copy() set की copy को return करता है। difference() दो या दो से अधिक सेटों के बीच के difference वाले set को return करता है। difference_update() Read more