Beginner से Pro तक · 34 lessons · Free

Python: Zero से Hero तक

5–10 मिनट के छोटे पाठ। उदाहरण चलाएँ, challenge जीतें, XP जुटाएँ: एक-एक पाठ करके, beginner से pro तक।

Python progress0/34 lessons
Start learning, it's free
What is Python? Read the beginner's guide →Want to write your own code? Open the Python compiler →
  1. MODULE 1

    Python की बुनियादी बातें

    print, variables, data types, input, operators और strings

    1. 1. आपका पहला Python प्रोग्रामprint() से स्क्रीन पर टेक्स्ट दिखाएँ
    2. 2. Variables: मान सहेजनाvariables में मान सहेजें और उनका उपयोग करें
    3. 3. Data Types: संख्याएँ, टेक्स्ट और True/Falseint, float, str, bool और type() सीखें
    4. 4. input(): उपयोगकर्ता से पूछनाinput() से उपयोगकर्ता से मान पढ़ें
    5. 5. Operators से गणित+ - * / // % ** का उपयोग करें
    6. 6. Strings: टेक्स्ट के साथ कामf-strings, len(), upper(), lower() और indexing
  2. MODULE 2

    निर्णय लेना: Conditions

    if, elif, else और तुलना

    1. 1. तुलना: True या False==, !=, >, <, >=, <= और Boolean मान
    2. 2. if / else: फ़ैसला लेने वाले प्रोग्रामशर्त सही हो तो एक काम, नहीं तो दूसरा
    3. 3. elif: दो से ज़्यादा विकल्पif, elif और else से कई शर्तें जाँचें
    4. 4. and, or, not: शर्तों को जोड़नाएक ही if में कई शर्तें जोड़ें
    5. 5. if के अंदर if: Nested Conditionsपहले फ़ैसले के बाद दूसरा फ़ैसला
  3. MODULE 3

    दोहराना: Loops

    for, while, range, break और continue

    1. 1. for Loops और range()एक काम को तय बार दोहराएँ
    2. 2. while Loops: जब तक सही, तब तक दोहराएँशर्त True रहने तक दोहराते रहें
    3. 3. break और continueloop को जल्दी रोकें या एक चक्कर छोड़ें
    4. 4. Loop Patterns: योग, गिनती और आकृतियाँइंटरव्यू में पसंद किए जाने वाले loop patterns
  4. MODULE 4

    Collections: Lists और Dictionaries

    lists, tuples, dictionaries और sets

    1. 1. Lists: कई मान एक जगहLists बनाएँ, index, slicing और len() का उपयोग करें
    2. 2. List Methods: जोड़ना, हटाना, क्रम में लगानाappend, insert, remove, pop, sort, sum, max, min
    3. 3. Tuples: न बदलने वाली ListsTuples बनाएँ, unpack करें और मान अदला-बदली करें
    4. 4. Dictionaries: नाम से मानKey-value जोड़े: पढ़ना, जोड़ना, बदलना और loop
    5. 5. Sets: सिर्फ़ अनोखे मानदोहराव हटाना, union और intersection
  5. MODULE 5

    Functions: दोबारा उपयोग होने वाला कोड

    def, return, default arguments, recursion और lambda

    1. 1. Functions: आपके अपने commandsdef से functions बनाएँ और उन्हें बुलाएँ
    2. 2. return: जवाब लौटानाprint और return में फ़र्क़
    3. 3. Default और Keyword ArgumentsDefault मान और नाम से arguments
    4. 4. Recursion: ख़ुद को बुलाने वाले FunctionsBase case और recursive case
    5. 5. lambda, sorted() और keyछोटे functions और अपनी पसंद का sorting
  6. MODULE 6

    व्यावहारिक Python

    string methods, comprehensions, error handling, modules और files

    1. 1. String Methods: split, join, replaceटेक्स्ट को बाँटें, जोड़ें, साफ़ करें और खोजें
    2. 2. List Comprehensions: एक लाइन में Listsloop और if को एक लाइन में लिखें
    3. 3. try / except: Errors संभालनाप्रोग्राम को रुकने दिए बिना errors से निपटें
    4. 4. Modules: math, random और भी बहुतimport से Python के तैयार tools इस्तेमाल करें
    5. 5. Files: लिखना और पढ़नाopen(), with, write(), read() और readlines()
  7. MODULE 7

    ऑब्जेक्ट-ओरिएंटेड प्रोग्रामिंग (OOP)

    classes, objects, methods, inheritance और एक छोटा प्रोजेक्ट

    1. 1. Classes और Objects: आपके अपने Data Typesclass, __init__, self और attributes
    2. 2. Methods: Objects क्या-क्या कर सकते हैंclass के अंदर functions, और __str__
    3. 3. Inheritance: एक Class पर आगे बनानाएक class से दूसरी class बनाएँ, और super()
    4. 4. Mini Project: रिपोर्ट कार्डसब कुछ एक असली प्रोग्राम में जोड़ें