TechVidvan

Python Certification Course [Hindi]

Welcome to our in-depth Python programming course. You will gain a firm foundation in Python, one of the most flexible and used programming languages worldwide, with the completion of this Python course. Not only is it a thrilling chance, but learning Python has several advantages. Python, one of the most user-friendly programming languages, is made much more comprehensible when taught in Hindi.

What will you take home from this Python Course?

  • Self paced video-based course
  • Complete study materials, practicals, quizzes, projects
  • Acquire practical knowledge which industry needs
  • Practical Python course with real-time case-studies
  • Lifetime access with industry-renowned certification

Start

Anytime (self-paced)

Duration

90+ Hrs

Access Duration

2 Years

Price

Rs. 5490

course demo

What will you take home from this Free Python Course?

Start

Anytime, it’s self-paced

Course Duration

80+ Hrs

Access Duration

2 Years

Price

Rs. 4990

Why should you enroll in this Python Course?

  • You’ll develop a solid understanding of Python programming, which will enable you to write code and solve issues with ease
  • Learning Python can provide you adaptable abilities that you may use for automation, data analysis, web development, and more
  • To put your newfound knowledge to use, take part in practical coding activities and projects
  • Learn about web development using Python frameworks to create dynamic websites and applications
  • Master data analysis and visualization utilizing Matplotlib and Pandas, two potent Python packages
  • Develop abilities to automate routine processes to increase productivity across a range of industries
  • Python frameworks can be used to create interactive web apps
  • Effective problem-solving is facilitated by Python’s simplicity
  • We guarantee a complete mastery of Python by covering it from the ground up in our course
  • Take advantage of the knowledgeable direction of professors who are fluent in Hindi and Python
  • To solidify your abilities, take part in practical exercises and projects
  • A lucrative profession in technology is accessible to anyone with Python skills
  • Take your time studying and take into account your daily obligations
  • You can always refer back to the course materials to improve your understanding
  • Develop abilities that will enable you to find employment in the cutthroat tech sector
  • After completing the course, you’ll be given a certification that attests to your competency with Python
  • Language obstacles are removed when learning Python in Hindi, making it easier for you to understand ideas

Python Course Objectives

People seeking to learn programming have a fantastic option to do so by learning Python. The simplicity and adaptability of Python are well known, and when it is taught in Hindi, it becomes much more approachable. This online Python course with a certificate offers a thorough curriculum with explanations for everything from Python’s fundamentals to more complex subjects. This online Python course will provide you the knowledge and abilities you need to thrive at Python programming, whether you’re a novice or have some prior coding expertise.

Python is recognized for its ease of use, readability, and flexibility, making it a great option for both inexperienced and seasoned programmers. Participants in such a course often start with fundamental concepts like variables, data types, and control structures before moving on to more complex material like object-oriented programming, web development, and data analysis. Python courses frequently contain practical exercises and real-world projects to reinforce learning and provide practical experience.

These courses not only give students useful coding skills, but they also get them ready for a variety of job options in industries including software development, data science, web development, and automation. There are many advantages to taking a Python course. Participants develop a strong foundation in programming as well as analytical thinking and problem-solving skills. Python is a highly sought-after expertise because of its numerous uses in a variety of areas, including finance, healthcare, and artificial intelligence.

The goals of a Python course are varied and specifically designed to give students a thorough understanding of the Python programming language and its wide range of applications. participants with a strong foundation in Python language is one of the main goals. The objective entails teaching a thorough knowledge of the syntax, data types, control structures, and fundamental ideas of Python. Participants learn how to build Python code that is both efficient and clean by grasping the foundations.

The main goals of Python courses are data manipulation and analysis. Participants become proficient in data-manipulation and data-visualization libraries like Matplotlib and Pandas. This goal equips them for jobs in data science where they can clean, examine, and visualize data to derive insightful conclusions. In order to develop clear, understandable, and effective code, participants are urged to embrace best coding practices. This goal makes sure that graduates are well-equipped to participate successfully in software development teams and work on collaborative projects.

Through this Python course, participants gain knowledge of the complexities of routing and templating as well as how to build dynamic web apps and manage databases. In conclusion, the goals of a Python course are to give students a thorough education in Python programming so they can pursue a variety of careers and adjust to the changing needs of the IT sector.

Why should you learn Python?

The power and dominance of the Python programming language doesn’t need any explanation. It is a self-claimed robust language on which the IT industry depends a lot. Below are some factual reasons of why one should learn Python language-

  • One of the most well-liked programming languages for novices is Python. – The TechCrunch
  • Python’s popularity has been aided by its readability and simplicity of learning. – The Forbes
  • The best language for machine learning and data science is Python. – Survey from Stack Overflow
  • Python is a flexible language with a wide range of frameworks and packages. – Microsoft
  • Python is a great choice for both beginners and experts due to its resources and supportive community.
  • What is Python?

Invented by Guido van Rossum in 1991, Python is a robust programming language which is globally known for its easy readability and flexibility in applications. This programming language has become a sensation and is worldly used by the IT industries and other sectors as well. This programming language is especially famous in the software development arena. Working with Python benefits you with the clean and easy syntax in coding, thus making it easy and effective for both the beginners and professionals.

In many areas, including web development, data analysis, machine learning, artificial intelligence, scientific computing, automation, and scripting, this programming language is highly adaptable. Frameworks for building websites and online applications, such Django and Flask, make web development simpler. Data purification, analysis, visualization, and the development of machine learning models are all tasks that Python is widely used for in the field of data science.

Python is a practical choice for developing apps that can be deployed on Windows, macOS, Linux, and other operating systems due to its cross-platform compatibility, which enables developers to write code once and run it on several platforms. Python has established itself as one of the most well-liked and influential programming languages in the world. It appeals to both novice and seasoned programmers looking for a productive and adaptable tool for software development and problem-solving.

What to do before you begin?

It’s advantageous to have a basic understanding of computers and programming ideas before starting this Python course. Although this online Python course covers each and every aspect of the Python language, the prerequisites are not mandatory. Make sure you have access to a computer with an internet connection, and arrive with an open mind and a want to learn. With this Python course, you can explore your linguistic comfort while learning Python, which is an approachable language.

  • Python must be installed on a computer. An integrated development environment (IDE) like PyCharm or Jupyter Notebook is suggested for coding exercises.
  • Learn about forums, online sources, and Python documentation because they will be helpful tools for you as you start with your coursework.

Who should go for this Python course?

Learning the Python programming language has immense benefits. TechVidvan’s Python course is designed to convert you from a beginner into an expert. You will learn all the basic and advanced functioning of this language and be able to apply it into real world scenarios. To top that, this online Python course is curated to make you even more familiar with the idea and concepts.

Python is beneficial for everyone especially for a number of categories of people such as –

  • Budding programmers
  • Web developers
  • IT Graduates
  • Aspiring coders
  • IT research enthusiast
  • Software developers
  • Aspiring data analysts

By enrolling in our Python course, you can expect the following benefits:

During the Python training, participants will develop a thorough understanding of Python programming and its various applications. We’ll start by going over the fundamentals of Python’s syntax, variables, data types, and control structures. This foundational knowledge serves as the foundation for more complicated issues.

As the class progresses, participants will learn web development techniques using Python frameworks like Django and Flask, enabling them to create dynamic and interactive online applications. They will also look into data manipulation and analysis, learning how to properly clean, examine, and visualize data with the help of programs like NumPy and Pandas. The fundamentals of object-oriented programming (OOP) will also become more familiar to participants, preparing them to write and use effective, modular programs.

Additionally, emphasis will be placed on Python’s prowess in data analysis and manipulation. Participants will learn how to manipulate data using tools like Pandas and visualize it using Matplotlib. In order to prepare them for careers in data science and business intelligence, they will learn how to clean, process, and analyze data. An all-encompassing education in programming, web development, and data management is offered by a Python course, providing doors to a variety of employment options in the computer sector.

For those hoping to become skilled programmers, taking a Python course might be quite advantageous. It gives students a strong foundation in coding, excellent problem-solving techniques, and the capacity to handle data. Graduates can pursue a variety of professional pathways, from web development and data science to automation and artificial intelligence, thanks to Python’s adaptability. Furthermore, beginners can rapidly pick up programming principles and write clear, maintainable code thanks to Python’s simplicity and readability, which makes it a perfect language for them.

Below are the top training benefits of Python course-

  • Hindi speakers can more easily access Python by learning it in their native tongue, which removes any linguistic hurdles.
  • The tech markets, both domestically and internationally, value Python expertise for job chances.
  • Because of its flexibility, Python gets to be used for a variety of jobs, including data science and web development.
  • Practical coding experience can be obtained through hands-on activities and projects.
  • Because of Python’s widespread acceptance, the knowledge you gain in this course will be beneficial.
  • Graduates are prepared for a range of employment in the tech sector with their skill set.
  • A competitive employment market both locally and globally benefits from Python proficiency.
  • Completing this online Python course successfully not only upgrades your skills but also provides you with a certificate which will benefit you in future job opportunities.
  • Learning Python from the experts in this field has more advantages and scope of learning.

Jobs after Learning this Python Course

Since Python is so versatile and has such a wide range of applications, learning it offers up a ton of work options in numerous industries. Following completion of a Python course, you may be interested in the following positions-

  • Engineer in artificial intelligence (AI)

Using Python, AI engineers create chatbots, computer vision programs, and speech recognition systems. They are engaged in cutting-edge AI research.

  • Web developer

You can work as a web developer to build dynamic, interactive websites and web apps utilizing frameworks like Django or Flask. Python is utilized for web development.

  • Python Developer

Python is a programming language that you will use to build systems, websites, and software applications. Using web development frameworks like Django or Flask, you’ll work on both front-end and back-end programming.

  • Data Analyst

Python is frequently used for data analysis and manipulation, according to data analysts. You can work as a data analyst, gathering, cleaning, and analyzing data to draw forth insightful conclusions and make data-driven decisions.

  • Machine Learning Engineer

Python is a programming language that data scientists use to create machine learning models and algorithms. To address complicated business issues, they use statistical analysis, data visualization, and predictive modeling.

  • DevOps Engineer

DevOps engineers carry out deployment, continuous integration, and automation tasks using Python. They facilitate the operations and software development processes.

  • Engineer in charge of quality assurance (QA)

QA engineers use Python to automate tests. To guarantee the excellence and dependability of software products, they create test scripts.

  • Cybersecurity Analyst

Python is utilized in cybersecurity for tasks including penetration testing, vulnerability scanning, and security log analysis, according to a cybersecurity analyst. To safeguard digital assets, you could work in the cybersecurity industry.

  • IT Scientist

Python is used in scientific research for data processing, simulations, and modeling, according to a research scientist. Python is frequently used by research scientists to carry out experiments and analyze data.

Our students are working in leading organizations

Hadoop Certification - Companies opportunities - DataFlair

Online Python Training Course Curriculum

  • Why you must learn Python?
  • Python Application
  • Difference between Platform Dependent and Independent
  • Features of Python
  • Limitations of Python
  • History of Python
  • Python installation
  • Pycharm installation
  • What is IDLE?
  • Python code execution flow
  • Hello World program
  • Python Statement, Indentation and Comments
  • How to print in Python
  • How to take input from user
  • Method, Identifier, Variable
  • Data Types, Variables
  • Rules to Declare Identifiers
  • Input Output Functions
  • How to Read Data in Single Line
  • Print() Function
  • Print Statement with Formatted String
  • Replacement Operator
  • How to Print using format() Method
  • Types of Operators
  • Bitwise Operators
  • Arithmetic Operators, Assignment Operators
  • Number System Conversion
  • Identity Operators
  • Python If Else
  • Pyramid patterns
  • Trasfer statements
  • Break and Continue statement
  • Pass statement
  • What are loops?
  • Types of loops
  • Nested for loop
  • What is String?
  • String Built-in Functions
  • String Class & Methods
  • String Functions
  • Type Casting in Python
  • What are collections?
  • List collection
  • Frozen sets
  • Dictionaries
  • Bytes and Bytearray
  • What are Functions?
  • Types of Functions and Methods
  • Creation of function
  • Parameter and Arguments
  • Function Arguments
  • Call by Value in Function
  • Types of Arguments in Functions
  • Return by Value
  • Function as an Arguments
  • Passing Function as an Argument to Another Function in Python
  • Global Variables and Global Keywords
  • Global vs Globals
  • eval method
  • Use of eval() Function
  • Factorial Program with recursion
  • Reverse a Number using Recursion
  • Program to Print Fibbonacci Series using Recursion
  • Anonymous Functions / Lambda Functions
  • Filter Function
  • Filter Function With Lambda Function
  • Lambda with map function
  • What are Arrays
  • Operations On Array
  • Array Types and Concepts
  • How to Use Array
  • Methods of Array
  • Creation of Arrays using NumPy
  • Comparing Arrays
  • Object reference
  • Difference Between View & Copy
  • NumPy Array Dimensions
  • Python NumPy Array Attributes
  • Multidimensional Array in Python with NumPy
  • Matrices in Python using NumPy
  • Binary Search
  • Bubble Sort
  • Procedure Oriented vs Object Oriented Programming
  • What is OOPs?
  • Classes and Objects
  • Creation of Classes and Objects
  • Self variable
  • init method
  • init() and str() method
  • Constructor Overloading
  • Polymorphism
  • Operator Overloading
  • Relational Operator Overloading
  • Overloading vs Overriding
  • Getters and Setters
  • Static Variables
  • Static Methods
  • Inner Class
  • Is-A vs Has-A relationship
  • Inheritance
  • Supet method
  • Types of inheritance
  • Constructor in Multiple Inheritance
  • Role of Constructor in Multiple Inheritance
  • Abstract Class and Method
  • What is Exception Handling?
  • Types of Exceptions
  • Try Except finally
  • Exception Handling Programs
  • Finally Statement
  • Assert Exception
  • Raise Statement
  • User Defined Exceptions
  • File in Python
  • Modes of File
  • File Mode r+ w+ a+
  • Read, Write, Append Modes
  • Open File using with Statement
  • File Exceptions
  • Python Program to Write Data in File
  • File I/O program
  • readlines() and writelines() Methods of file
  • Count Lines, Words, Characters from File
  • How to Read One by One Character from File
  • Read and write Files in Binary Mode
  • Pickle in Python
  • Python Pickle Module
  • File Handling using Pickle
  • tell() & seek() Methods in Python
  • How to Open CSV File in Python
  • Read Data from CSV File
  • What is Multithreading?
  • Life Cycle of Thread in Python
  • Different ways to create threads
  • Thread Class
  • Main Thread
  • join() method
  • Daemon thread
  • Exception in Multithreading
  • Race condition
  • Thread Synchronization
  • Lock in Multithreading
  • Difference between Lock & RLock
  • RLock in Multithreading
  • Semaphore in Python Synchronization
  • GUI Applications using Tkinter
  • Different Options of root in Tkinter GUI
  • root Window Methods & Attributes
  • Adding Frame to Python Program
  • Inserting Images in Tkinter Widget
  • Create Buttons With Python Tkinter
  • Multiple Button in GUI Application
  • Fonts in GUI Application
  • Grid in Python
  • Difference between grid(), pack() & place() methods
  • Login Application
  • GUI Application using OOPs
  • CheckButton, RadioButton in Tkinter
  • Enrty control with python events
  • How to use Message Dialog Window Popup in Python using Tkinter
  • MenuBar in GUI Application
  • Notepad Project
  • Connect Python with MySQL
  • MySQL Server installation
  • What is SQL?
  • DDL Command
  • DML Command
  • Like Command
  • Aggregate Functions
  • Nested Queries
  • Python MySQL Connection
  • How to Store Input Data in Database using Parameterized Query
  • Fetch Data from Database using Python
  • Fetch one record from Database using Python
  • Delete records from Database
  • What is ORM Architecture in Python
  • Step Towards Enterprise Applications
  • How to Design ORM Architecture
  • Develop Enterprise Applications
  • Enterprise Application Development using ORM Architecture
  • Python GUI Applications with Database Connection
  • Difference Between C and Python
  • Difference Between C++ and Python
  • Difference Between Python and Java

Features of Python Course

data flair feature course image 1

Python Online Training FAQs

Projects may require you to create straightforward machine learning models, analyze data, or create web applications in order to put your knowledge into practice.

Python is a versatile programming language used, among other things, for automating processes, data analysis, and web development. Learning Python opens up a wide range of career possibilities.

No. Beginners should enroll in this online Python course. While it is advantageous, prior experience is not required.

Python must be installed on your PC (we’ll help you through setup). We suggest using an integrated development environment (IDE) for coding.

Although studying math can be helpful, our Python course provides explanations and tools that make complex math easier to understand for a variety of users.

Self-paced learning is available in our Python course, allowing you to advance at your own pace.

After a course is finished, you will receive a certificate of completion. This certificate will help you in many job prospects.

You will be doing Python real life projects in different domains like retail, banking, and finance.

Depending on how quickly you learn, this Python course is created according to your flexibility. You can cover this online Python course as per your time, pace and comfort.

Python developers are in high demand across many industries. Success in this course may lead to positions in web development, data analysis, machine learning, and other industries.

Course Content

Username or Email Address

Remember Me

TechVidvan logo

BccFalna.com

TechTalks in Hindi. Be with Us, Be ahead.

  • Add to Cart => Click Checkout => Fill Billing Details => Pay and Download Instantly" style="padding-left: 0;"> BccFalna.com
  • How to Buy?
  • Tech Support

Assignment Statements – Example 2

Assignment Statements – Example 2 – पिछले Example में हमने जितने भी तरह के Assignments देखे, वे सभी Python Assignments के Basic Forms हैं। इसलिए इन सभी को हम कई और Different तरीकों से भी Use कर सकते हैं और Different Types के Objects को Different तरीकों से Assign कर सकते हैं। जैसे-

इस Example में सबसे पहले हमने निम्‍न Statement Specify करते हुए एक Tuple Object के विभिन्‍न Data Items को List Object के विभिन्‍न Data Items से Initialize किया है-

[firstName, lastName] = (‘KRISHNA’, ‘YADAV’)

परिणामस्‍वरूप List के firstName Data Item में नाम ‘ KRISHNA ‘ Store हो जाता है और lastName Data Item में नाम ‘YADAV ‘ Store हो जाता है। जब हम इस तरह का Assignment Statement Use करते हैं, तब इस बात का ध्‍यान रखना जरूरी होता है कि Equal To Operator के दोनों ओर जिन Objects को Specify किया जा रहा है, उनमें Exist Data Items की संख्‍या एक समान हो।

इसी Statement की तरह ही निम्‍नानुसार अगले Statement में एक String Sequence के सभी Characters को एक List Object के विभिन्‍न Data Items में Store कर दिया है-

[char1, char2, char3, char4, char5] = ‘YADAV’

यहां भी हमें इस बात का ध्‍यान रखना जरूरी है कि Equal To Operator के Right Side में Specified String Sequence के कुल Characters की संख्‍या और List में Specified कुल Data Items की संख्‍या एक समान हो, अन्‍यथा Python Interpreter, Assignment के दौरान Error Return करता है।

Python हमें ये सुविधा देता है कि हम किसी भी तरह के Core Object Type को Assignment Statements का प्रयोग करते हुए Assign कर सकते हैं और किसी Sequence Type के साथ जितने भी तरह के Operations को Perform किया जा सकता है, उन सभी तरह के Operations से Return होने वाले Outputs को Left Side में Specified Objects में Assign किया जा सकता है। इसीलिए जब निम्‍न Statement Execute होता है-

fullName = ‘KRISHNA MURARI’ [firstName, lastName] = fullName[:7], fullName[8:]

तब Slicing Operations से Return होने वाले String Objects भी Left Side में Specified List के firstName व lastName Data Items में Store हो जाते हैं।

कभी-कभी हमें एक निश्चित Sequence में Generate होने वाले Numbers को Multiple Variables में Store करके उन्‍हें किसी Specific तरीके से Use करना होता है। इस तरह की जरूरत को पूरा करने के लिए Python हमें range() नाम का Built-In Function Provide करता है, जिसे निम्‍नानुसार Use किया जा सकता है-

zero, one, two = range(3)

हम इस तरह से range() Function द्वारा Return होने वाले Numbers को भी One by One विभिन्‍न Variables में क्रम से Assign कर सकते हैं।

Python हमें किसी List के विभिन्‍न Data Items को Individual Variables में Assign करने की सुविधा भी देता है, जिसकी वजह से जब हम निम्‍नानुसार तरीके से List Define करके उसे Variables के साथ Specify करते हैं-

lstNames = [‘KRISHNA’, ‘MURARI’, ‘MANMOHAN’, ‘SHYAM’] name1, name2, name3, name4 = lstNames

तो List के सभी Data Items क्रम से विभिन्‍न Variables में One by One Assign हो जाते हैं।

कई बार स्थिति ऐसी होती है, जब हमें List के कुछ Items को तो किन्‍हीं Variables में लेना होता है, जबकि बाकी के बचे हुए सभी Data Items को एक Single List Object की तरह Retrieve कर लेना होता है। इस तरह की जरूरत को पूरा करने के लिए हमें उस Variable के साथ निम्‍नानुसार * का प्रयोग करना पड़ता है-

nameFirst,  *nameRest  = lstNames

जिसमें हम बाकी के बचे हुए सभी Data Items को एक Sub-Separated List की तरह Return करना चाहते हैं। जब ये Statement Execute होता है, तब हमें निम्‍नानुसार Output प्राप्‍त होता है-

All Names: KRISHNA [‘MURARI’, ‘MANMOHAN’, ‘SHYAM’]

जहां List lstNames में Specified पहला Data Item नाम तो nameFirst Variable में Assign हो जाता है, जबकि बाकी के बचे हुए सभी Data Items एक नई Sub-List के रूप में Assign हो जाते हैं।

कभी-कभी ऐसी स्थिति भी होती है, जब हमें एक ही List के बीच के कुछ Data  Items को Sub-List की तरह Return करना होता है, जबकि List की शुरूआत व अन्‍त के Data Items को Separated Items की तरह Variables में Assign करना होता है। इस तरह की जरूरत को पूरा करने के लिए हमें * को बीच वाले Variable के साथ निम्‍नानुसार तरीके से Specify करना होता है-

nameFirst,  *namesMiddle , nameLast = lstNames

परिणामस्‍वरूप जब इस Statement को Execute किया जाता है, तो lstNames List में Exist पहला Data Item, Variable nameFirst में जबकि अन्तिम Data Item, Variable nameLast में Store हो जाता है, जबकि बाकी के बचे हुए सभी बीच वाले Data Items * namesMiddle Variable में Store हो जाते हैं, परिणामस्‍वरूप हमें निम्‍नानुसार Output प्राप्‍त होता है-

All Names: KRISHNA [‘MURARI’, ‘MANMOHAN’] SHYAM

हालांकि हम * का प्रयोग करते हुए List, Tuple, Dictionary जैसे Core Types के Data Items को विभिन्‍न तरीकों से Retrieve करके जरूरत के अनुसार विभिन्‍न Variables में Assign कर सकते हैं, लेकिन इसी काम को हम Sequences के Slicing व Indexing Operations द्वारा भी Perform कर सकते हैं। इसलिए ये तरीका केवल हमारे Convenience के लिए ही है। इसी तरीके को Use करते हुए अपनी सभी जरूरतों को पूरा करना जरूरी नहीं है। हम Slicing व Indexing तरीके को भी समान रूप से Use कर सकते हैं।

इतना ही नहीं, इस Chapter के पहले Example में हमने जितने भी Basic Assignment Statements को देखा है, उन सभी तरह के Assignment Statements का प्रयोग हम किसी भी Core Type के साथ Apply कर सकते हैं जिनमें से कुछ तरीकों को हमने यहां पर पर्याप्‍त विस्‍तार से Discuss किया है।

Python in Hindi - BccFalna.com

Python in Hindi | Page: 602 | Format: PDF

BUY NOW GET DEMO REVIEWS

My Shopping Cart

How to buy online - simple steps.

  • Register करके Login कीजिए।
  • Price Page पर " Add to cart " Button को Click करके वांछित पुस्‍तकें Shopping Cart में Add कीजिए।
  • My Shopping Cart Widget में दिखाई देने वाले Checkout Button को Click कीजिए।
  • एक से अधिक EBooks खरीदने पर Extra Discount के लिए Coupon Code Apply कीजिए।
  • अपनी Billing Detail Fill करते हुए Instamojo , PayUMoney या Manual Payment Option Select करके " Place order " Button पर Click कीजिए।
  • Total Payable Amount का भुगतान कीजिए और पुस्‍तकें Download कीजिए अपने EMail या My Account से, तुरन्‍त।
  • पुस्‍तकें खरीदने से सम्‍बंधित किसी भी प्रकार की समस्‍या होने पर 097994-55505 पर Call / WhatsApp कीजिए।

WEBHOST that We USE and TRUST.

Used and Recommended by BccFalna.com

  • Only 6 Rules for Best Domain Name Selection.
  • Only 5 Rules for Best Web Hosting Selection
  • How to Buy Domain Name and Web Hosting?
  • How to Install WordPress Manually on Server?

Most Read Articles

  • Why Learn Python Programming Language
  • Why Learn C Programming Language
  • Why Learn C++ Programming Language
  • Why Learn Java Programming Language
  • Why Learn Android App Development
  • Why Learn C#.NET Programming Language
  • Why Learn ADO.NET with C#.NET
  • Why Learn ASP.NET WebForms
  • Why Learn Advance ASP.NET WebForms
  • Why Learn Data Structure
  • Why Learn Oracle-SQL/PLSQL
  • Why Learn Visual Basic 6
  • Why Learn HTML-XHTML
  • Why Learn HTML5 with CSS3
  • Why Learn JavaScript
  • Why Learn jQuery Framework
  • Why Learn PHP
  • Why Learn WordPress Framework
  • Why Learn Advance WordPress

Frequently Asked Questions

  • केवल Softcopy EBooks ही क्‍यों? Hardcopy क्‍यों नहीं?
  • Online Payment कीजिए। ये Safe और Fast है।
  • क्‍या है MasterCard 3D SecureCode , Verified by Visa (VbV) and RuPay PaySecure Code ?

Articles from …

  • ADO.NET with C# in Hindi
  • Advance ASP.NET WebForms in Hindi
  • Advance JavaScript in Hindi
  • Advance WordPress in Hindi
  • Android in Hindi
  • C Programming Language in Hindi
  • C# Programming Language in Hindi
  • C++ Programming Language in Hindi
  • Core ASP.NET WebForms with C# in Hindi
  • Core JSP in HIndi
  • Core PHP in Hindi
  • Core Python in Hindi
  • Data Structure and Algorithms in Hindi
  • HTML-XHTML in Hindi
  • HTML5 with CSS3 in Hindi
  • Java Programming in Hindi
  • jQuery in Hindi
  • Oracle 8i-9i SQL/PLSQL in Hindi
  • Visual Basic 6 in Hindi
  • WordPress in Hindi

Working on CCAvenue Payment Gateway Integration Dismiss

shopify analytics ecommerce tracking

eHindiStudy

Computer Notes in Hindi

python operators in hindi & types

Python operators in hindi:-.

आज हम इस पोस्ट में python operators के बारें में पढेंगे और इसके types के बारें में जानेंगे तो चलिए शुरू करते है:-

operator एक symbol है जो कि एक ऑपरेशन को प्रस्तुत करता है. और वह वैल्यू जिस पर ऑपरेटर कार्य (operate) करते है उन्हें operands कहते है. Operators का प्रयोग प्रोग्राम में data तथा variables को manipulate करने के लिए किया जाता है.

अर्थात् operators वो symbols होते है जिनका प्रयोग प्रोग्राम में गणितीय या लॉजिकल ऑपरेशन करने के लिए किया जाता है.

python operators दो प्रकार के होते है:- unary operators तथा binary operators.

unary operator केवल एक operand पर operate होता है. जबकि binary operator दो operands पर operate होता है.

उदाहरण के लिए:- 4+6, जहाँ 4 तथा 6 operands है जबकि + एक ऑपरेटर है.

types of python operators in hindi:-

python operators निम्नलिखित होते है:-

1:- arithmetic operator

2:- relational (comparison) operator

3:- logical operator

4:- bitwise operator

5:- assignment operator

6:- identity operator

7:- membership operator

1:- arithmetic operators:-

arithmetic operators का प्रयोग गणितीय कार्यों को करने के लिए किया जाता है जैसे:- addition, substraction, division आदि.

यहाँ पर हमने उदाहरण के लिए वेरिएबल x का मान 20 तथा y का मान 30 लिया है.

operatorsdescriptionउदाहरण
+ (addition)यह दो operands को जोड़ता है.x + y = 50
– (substraction)यह दो operands को घटाता है.x – y = -10
* (multipication)यह दो operands को गुणा करता हैx * y = 600
/ (division)यह right वाले operands से left वाले operands को divide करता हैy / x = 1.5
% (modulus)यह right वाले operand से left वाले operand को divide करता है तथा यह शेषफल return करता है.y * x = 0
// (floor division)यह right वाले operands से left वाले operands को divide करता है तथा भागफल return करता है. यह दशमलव वाले हिस्से को छोड़ देता हैजैसे:- 13//3 = 4 तथा 15//2 = 7
** (exponential)इसमें right वाला operand, left वाले operand की power (घात) बन जाता है.x ** y (x to the power y) माना x = 2, y =4 तो x ** y = 16

2:- relational (comparison) operators:-

रिलेशनल ऑपरेटर का प्रयोग दो values को compare करने के लिए किया जाता है. यह condition के अनुसार या तो true return करता है या false. यहाँ पर हमने उदाहरण के लिए वेरिएबल x की वैल्यू 20 तथा y की वैल्यू 30 दी है.

operatorsdescriptionउदाहरण
==यदि दोनों operands की वैल्यू समान होती है तो condition सत्य होती है.(x == y) सत्य नहीं है.
!=यदि दोनों operands की वैल्यू समान नहीं होती है तो condition सत्य होती है.(x != y) सत्य है
< >यदि दोनों operands की वैल्यू समान नहीं होती है तो condition सत्य होती है. यह != की तरह है.(x < > y) सत्य है
>यदि left operand की वैल्यू right operand से बड़ी होती है तो condition सत्य होती है.(x > y) सत्य नही है.
<यदि right operand की वैल्यू left operand से बड़ी होती है तो condition सत्य होती है.(x < y) सत्य है.
>=यदि left operand की वैल्यू right operand से बड़ी होती है या बराबर होती है तो condition सत्य होती है(x >= y) सत्य नही है.
<=यदि right operand की वैल्यू left operand से बड़ी होती है या छोटी होती है तो condition सत्य होती है(x <= y) सत्य है.

3:- logical operators:-

लॉजिकल ऑपरेटर जो है वह Boolean expressions को compare करता है तथा Boolean result रिटर्न करता है.

operatorsdescriptionउदाहरण
andयदि दोनों operands सत्य होते है तो condition सत्य होती है.6>3 and 5<10 सत्य है
orयदि दो operands में से एक भी सत्य होता है तो condition सत्य होती है.6>3 or 5>10 सत्य है
notयदि operands की वैल्यू गलत होती है तो condition सत्य होती है.not(5 < 2) सत्य है

4:- bitwise operators:-

bitwise python operators जो है वह bits पर कार्य करते है तथा bit by bit ऑपरेशन को परफॉर्म करते है.

उदाहरण के लिए माना x = 10 तथा y = 4

तो बाइनरी फॉरमेट में x = 0000 1010 तथा y = 0000 0100

operatorsmeaningउदाहरण
&bitwise ANDx & y = 0 (0000 0000)
|bitwise ORx | y = 14 (0000 1110)
~bitwise NOT~ x = -11 (1111 0101)
^bitwise XORx ^ y = 14 (0000 1110)
>>Bitwise right shiftx >> 2 = 2 (0000 0010)
<<Bitwise left shiftx << 2 = 40 (0010 1000)

5:- assignment operators:-

python में assignment operators का प्रयोग variables को वैल्यू assign करने के लिए किया जाता है.

operatorsdescriptionउदाहरणsame as
=यह बायीं तरफ के expression को वैल्यू assign करता है.x = 5x = 5
+=यह right operand को left operand से जोड़ता है तथा जो result आता है उसे left operand को assign करता है.x += 5x = x + 5
-=यह right operand को left operand में घटाता है तथा जो result आता है उसे left operand को assign करता है.x -= 5x = x – 5
*=यह right operand को left operand में गुणा करता है तथा जो result आता है उसे left operand को assign करता है.x *= 5x = x * 5
/=यह left operand को right operand से divide करता है तथा जो result आता है उसे left operand को assign करता है.x /= 5x = x / 5
%=यह दो operands का modulus लेता है और उसे left operand को assign करता है.x %= 5x = x % 5
**=यह operands में power (घात) को परफॉर्म करता है तथा उसे left operand को assign करता है.x **= 5x = x ** 5
//=यह operators में floor division को परफॉर्म करता है तथा उसे left operand को assign करता है.x //= 5x = x // 5

6:- identity operators:-

identity python operators दो ऑब्जेक्ट्स के मैमोरी लोकेशन को compare करता है.

operatorsdescriptionउदाहरण
isयदि दोनों operands एक ही जैसी identity साझा करते है तो condition सत्य होगी अन्यथा असत्य होगी.x is y
is notयदि दोनों operands एक ही जैसी identity साझा नहीं करते है तो condition सत्य होगी अन्यथा असत्य होगी.x is not y

7:- membership operators:-

membership python operators का प्रयोग sequence में membership को टेस्ट करने के लिए किया जाता है. sequence एक list, एक string या एक tuple हो सकती है. python में दो मेम्बरशिप ऑपरेटर है जो नीचे दिए गये है:-

operatorsdescriptionउदाहरण
inयदि ऑपरेटर के दोनों तरफ के वेरिएबल एक sequence में होते है तो condition सत्य होगी अन्यथा असत्य होगी.x in y
not inयदि ऑपरेटर के दोनों तरफ के वेरिएबल एक sequence में नहीं होते है तो condition सत्य होगी अन्यथा असत्य होगी.x not in y

निवेदन:- अगर आपको python operators की यह पोस्ट कैसी लगी मुझे कमेंट के द्वारा बताइए तथा इसे अपने दोस्तों के साथ share करें.

1 thought on “python operators in hindi & types”

What will be the result of the expression ‘x’ and’a’? Plz explain this.

Leave a Comment Cancel reply

Operators in Python in Hindi

इस tutorial में हम बात करेंगे Python Operators के बारे में और देखेंगे की Python में operators कितने types के होते हैं और उन्हें अपने programs में कैसे use करते हैं.

हम लगभग सभी Python programs में arithmetic या logical computation (operation) करते ही करते हैं और इन computation के लिए हम जो expression लिखते हैं उसमें हम operands (variables, values या objects) के साथ operators का use भी करते हैं.

आप इसे ऐसे भी कह सकते हो की operators Python programming के core fundamental concepts में से एक है और इसलिए operators को अच्छे से समझना जरूरी है.

What are Operators in Python in Hindi

Operators ऐसे special symbols या phrase of alphabets होते हैं जिनका meaning और use Python में पहले से fix होता है. 

Python operators का use हम अपने Python programs में specific mathematical और logical operations (task) को perform करने के लिए करते हैं.

Python Programming Language में आपको बहुत types के operators मिल जाते हैं जिनकी help से आप अलग-अलग काम कर सकते हो.

Types of Operators in Python

  • Arithmetic Operators
  • Assignment Operators
  • Relational Operators
  • Logical Operators
  • Membership Operators
  • Identity Operators
  • Bitwise Operators

Operators क्या होते हैं ये तो आप समझ ही गए और अब हम सभी operators types को एक-एक करके detailed में समझेंगे.

Arithmetic Operators in Python

Arithmetic operators का use mathematical operations जैसे addition, subtraction, multiplication इत्यादि करने के लिए किया जाता है.

नीचे दी गयी table में सभी arithmetic operators की basic information दी है और table के नीचे सभी operators के use को example के साथ समझाया है.

Arithmetic Operators
Operator Name Description
+ Addition Operands को जोड़ने के लिए
Subtraction Operands को घटाने के लिए
* Multiplication Operands में गुणा करने के लिए
/ Division Operands में भाग देने के लिए
// Floor Division Operands में भाग देने के लिए
% Modulus Operands में भाग देकर शेषफल निकालने के लिए
** Exponentiation Exponent (power) निकालने के लिए

Addition (+), subtraction (-) और multiplication (*) को use तो हम बचपन से जिस तरह से करते आ रहे हैं वैसा ही है.

लेकिन आपको division (/), floor division (//), modulus (%) और exponentiation (**) operators के use को अच्छे से समझना होगा.

Division (/) operator को हम floating point division भी कहते हैं जब आप इस operator का use करके division करते हैं तब उसका result हमेशा float number ही होता है जैसे 5/2 का result 2.5 आएगा.

Floor division (//) operator को हम integer division भी कहते हैं जब आप इस operator का use करके division करते हैं तब उसका result हमेशा integer number ही होता है जैसे 5/2 का result 2 आएगा.

Modulus (%) operator को हम modulo division भी कहते हैं और इस operator का use हम शेषफल (remainder) निकालने के लिए करते हैं जैसे 5%2 का result 1 आएगा.

Exponentiation (**) operator को हम exponent operator या power operator भी कहते हैं.

जब आप 2 operands के बीच में exponentiation (**) operator का use करते हैं जैसे a**n तब उसका मतलब होता है की आप variable a को खुद से n times multiply करना चाहते हो जैसे 2**3 का मतलब हुआ 2 की power 3 (2*2*2) और इसका result 8 आएगा.

Arithmetic Operators Example Program:

Assignment Operators in Python

Assignment operator ( = ) का use right side वाली value, variable, constant या expression के result value को left side वाले variable में assign (copy) करने के लिए होता है.

Assignment Operators
Operator Name Description
= Simple Assignment Right side value या expression को solve करके left side के variable में value assign करने के लिए
+= Addition Assignment Left और Right side value (variable) को जोड़कर left side के variable में assign करने के लिए
-= Subtraction Assignment Left और Right side value (variable) को घटाकर left side के variable में assign करने के लिए
*= Multiplication Assignment Left और Right side value (variable) को गुणा करके left side के variable में assign करने के लिए
/= Division Assignment Left और Right side value (variable) को भाग देकर left side के variable में assign करने के लिए
//= Floor Division Assignment Left और Right side value (variable) को भाग देकर left side के variable में assign करने के लिए
%= Modulo Assignment Left और Right side value (variable) को भाग देकर शेषफल left side के variable में assign करने के लिए
**= Exponentiation Assignment Right side value (variable) को left side की power मानकर उसका exponent निकालकर उसको left side के variable में assign करने के लिए

Simple assignment operator का use मैंने आपको variable assignment के साथ समझा दिया था इसलिए अगर आपने वो tutorial नहीं पढ़ा तो पहले उसे जरूर पढ़ लें.

Simple assignment operator को छोड़ कर बाकी के सभी operators को compound assignment operators कहते हैं.

Compound assignment operators में हम arithmetic operators और assignment operator को combine करके use करते हैं.

Compound assignment operators का use हम तब करते हैं जब हमें जिस variable में value assign करनी है उसे भी arithmetic operation में use करना हो.

Compound assignment operators की help से हमारी expression short हो जाती है जैसा की आप नीचे table में देख सकते हो.

Compound Assignment Operators
Expression Equivalent
a += b a = a + b
a *= b a = a * b
a *= b + c a = a * (b + c)

Assignment Operators Example Program:

Relational Operators in Python

Relational operators का use 2 values (variables, constants) को compare करने के किया जाता है इसलिए इन्हें comparison operators भी कहा जाता है. 

जब हम किसी condition के लिए relational operators का use करते हैं तब हमें result के तौर पर boolean values True या False return होता है.

नीचे दी गयी table में सभी relational operators की basic information दी है और table के नीचे सभी operators को use करके example program भी बनाया है.

Relational Operators
Operator Name Description
== Equal to जब दोनों operands की values बराबर होती है तब True return होगा.
!= Not Equal to जब दोनों operands की values अलग-अलग होती है तब True return होगा.
< Less than जब left operand की value right operand की value से कम होती है तब True return होगा.
> Greater than जब left operand की value right operand की value से ज्यादा होती है तब True return होगा.
<= Less than or equal to जब left operand की value right operand की value से कम या बराबर होती है तब True return होगा.
>= Greater than or equal to जब left operand की value right operand की value से ज्यादा या बराबर होती है तब True return होगा.

Relational Operators Example Program:

Relational operators का ज्यादातर use if else या loops के साथ condition लगाने के लिए होता है जो की हम आने वाले tutorials में सीखेंगे और अभी मैंने सिर्फ simple examples के साथ relational operators को समझाया है.

Expression Result
14 > 5 True
9 <= 8 False
12 > 12 False
12 >= 12 True
15 != 18 True
24 == 22 False
24 >= 22 True
10 < 15 True
14 >= 18 False

Example Program:

Logical Operators in Python

जैसा की हमने ऊपर पढ़ा की relational operators का use condition expression लिखने के लिए करते हैं.

अब होता ये है की कभी-कभी हमें एक से ज्यादा conditions को इस तरह से combine करके लिखना होता है की उससे हमें True या False result के तौर पर मिल सके तो उसके लिए हम logical operators का use करते हैं.

नीचे दी गयी table में सभी logical operators की basic information दी गयी है और table के नीचे सभी operators की जानकारी के साथ-साथ example programs भी बनाए हैं.

Logical Operators
Operator Description
and जब सभी conditions true होंगी तब True return होगा.
or जब सभी conditions में से अगर एक भी condition true होगी तब True return होगा.
not ये condition के result को reverse कर देता है यानी true को false और false को true.

जब हम अपने programs में कोई task सभी conditions के true होने पर ही करना चाहते हो तब हम सभी multiple conditions के बीच में logical and operator का use करते हैं.

जब हम अपने programs में कोई task किसी भी एक condition के true होने पर ही करना चाहते हो तब हम सभी multiple conditions के बीच में logical or operator का use करते हैं.

कभी-कभी programs में हमारे सामने ऐसी स्थिति आ जाती है हम अपनी conditions result को reverse (उल्टा) चाहते हैं और इसके लिए हम logical not operator का use करते हैं.

Logical not operator को condition से पहले use किया जाता है और ये condition के result को यानी true को false और false को true करके return करता है.

Truth table of Logical Operators:

Truth table of Logical Operators
A B (A and B) (A or B) not(A and B) not(A or B)
True True True True False False
True False False True True False
False True False True True False
False False False False True True

Logical Operators Example Program:

अब क्योंकि logical operators का हमेशा relational operators के साथ किया जाता है इसलिए इनका use का ज्यादातर if else या loops के साथ condition लगाने के लिए होता है.

इन topics को हम आने वाले tutorials में सीखेंगे और अभी मैंने सिर्फ simple example के साथ logical operators को समझाया है.

Identity Operators in Python

Identity operators की help से हम ये check (compare) करते हैं की दो अलग-अलग variables एक ही value (object) को point कर रहे हैं कि नहीं.

इसे हम ऐसे भी कह सकते कि जब हमें ये जानना हो की दो variables एक ही memory location पर store value (object) को refer कर रहें हैं की नहीं तब हम identity operators का use करते हैं.

Identity operators से भी relational operators की तरह result के तौर पर boolean value True या False return होती है.

नीचे दी गयी table में दोनों identity operators की basic information दी गयी है और table के नीचे operators का use करके example program भी बनाया है.

Operator Description
is अगर दोनों variables same object को point कर रहे हैं तो ये operator True return करेगा और अगर ऐसा नहीं है तो False return करेगा
is not अगर दोनों variables same object को point कर रहे हैं तो ये operator False return करेगा और अगर ऐसा नहीं है तो True return करेगा

Identity Operators Example Program:

Identity operators को use करना आप तब अच्छे से सीख और समझ पाएंगे जब आप class और object के topic को पढ़ लेंगे.

इन topics को हम आने वाले tutorials में सीखेंगे इसलिए अभी मैंने सिर्फ simple example के साथ identity operators को समझाया है.

Membership Operators in Python

Python tutorials की इस series में आप आगे Python String, Python List, Python Set, Python Tuple और Python Dictionary के बारे में पढेंगे.

अभी अगर में आपको इनके बारे में कम शब्दों में समझाऊं तो वो ये है की ये सभी एक या उससे ज्यादा values का sequence (collection) होते हैं.

Membership operators (in और not in) की help से हम ये check कर सकते हैं कि किसी sequence (string, list, tuple, set and dictionary) में कोई specific value है या नहीं.

नीचे दी गयी table में दोनों membership operators की basic information दी गयी है और table के नीचे operators का use करके example program भी बनाया है.

Operator Description
in अगर sequence में value में मौजूद है तो ये operator True return करेगा और अगर ऐसा नहीं है तो False return करेगा
not in अगर sequence में value में मौजूद नहीं है तो ये operator True return करेगा और अगर ऐसा नहीं है तो False return करेगा

Membership Operators Example Program:

Important Note:

Python dictionaries के साथ membership का use करते वक्त आप सिर्फ Dictionary key की presence (मौजूदगी) को ही find कर सकते हैं उसकी value को नहीं, जैसा की आप नीचे example program में देख सकते हो.

Look like javaScript is not enable in you browser. You have to enable javaScript for better user experience. You can enable javascript setting > site setting > javaScript

  • Python Statistics
  • Python NumPy

Python Operators In Hindi

❮❮ Previous Next ❯❯

If tutorials available on this website are helpful for you, please whitelist this website in your ad blocker😭 or Donate to help us ❤️ pay for the web hosting to keep the website running.

Operator एक symbol होते हैं , जो process / operation represent करते हैं करते हैं , या हम कह सकते हैं की Operators को कोई process / या operation को perform करने के लिए use करते हैं।

Python Operator

For Example -

ऊपर दिए गए example में आप देखा सकते हैं कि + (plus sign) Operator define की गयी दो values को add रहा है।

इसी तरह से Python हमें different - different Operators provide कराती है different - different action perform करने के लिए। Python में normally use होने वाले Operators कुछ इस प्रकार हैं -

  • Arithmetic Operators
  • Assignment Operators
  • Comparison Operators
  • Logical Operators
  • Identity operators
  • Membership operators

Note : बाकी languages like PHP , Java , JavaScript की तरह Python increment / decrement operators को support नहीं करता है।

Python Arithmetic Operators

Arithmetic Operators simple calculation में use होने wale Operators होते हैं जैसे Addition , Subtraction etc.

OperatorNameExample Explanation
+Additionx+y
( + ) plus operator uses to add two or more numbers / values
-Subtraction

x-y

 ( -  ) minus  operator uses to substract one  numbers / values from another numbers / values or finds the difference 
/Divisionx / yquotient of x and y with decimal point.
//Flour Divisionx // yquotient of x and y without decimal point
*multiplicationx * yproduct of x and y
%Modulusx % yremainder of operands
**Exponentiationx ** yx raised to the power y

Python Arithmetic Operators Example

Python assignment operators.

Assignment Operator को ( = ) से represent करते हैं , जो कि value को किसी variable में assign करने के लिए use किया जाता है। हालाँकि इसे Arithmetic Operators के साथ भी use करते हैं।

OperatorNameExample Explanation
=Assignx = yvalue of y assigned tox
+=Addition then Assign

x += y

First Add and then assign it to x. (It treats like x = x+y)
-=Subtract then Assign

x -= y

get the difference and assign it to x. (It treats like x = x-y)
/=Divide then assign quotient with decimal point,x /= yquotient of x and y then assign it to x .( It treats like x = x/y )
// =Divide then assign quotient without decimalx //= yIt is same as x = x//y
* =Multiplication then assign the productx *= yproduct of x and y then assign it to x.( It treats like x = x*y )
% =Divide then assign remainderx %= yremainder of operands then assign it to x.( It treats like x = x+%y )

Python Assignment Operators Example

Python comparison operators.

Comparison Operators दी हुई दो values को compare करके Boolean value True / False return करते हैं. Python में Comparison Operators को कुछ इस तरह से use कर सकते हैं।

OperatorNameExample Explanation
==Equalx = = ychecks if x is equal to y.
!=Not equalx != ychecks if x is not equal to y.
<Less thanx < ychecks if x is less than y.
>Greater thanx > ychecks if x is greater than y.
<=Less than or equalx <= ychecks either x is less than or equal to y.
>=Greater than or equalx >= ychecks either x is greater than or equal to y

Python Logical Operators

Logical Operators , एक या एक से अधिक expression के according Boolean value return करते हैं।

OperatorNameExample Explanation
andAndx and yReturns True if Both operands (x and y) are true;
orOr

x or y

Returns True if eitherx or y is true;
notnotnot(x)returns True if either x not true;

Python Identity Operators

जैसा कि name से ही पता चलता है कि किसी variable की identity check हो रही है , for - example : एक variable int type का है या नहीं इसके लिए हम is / is not का use कर सकते हैं।

Python Membership Operators

membership operators का use किसी single element की किसी sequence (like : list , set , dictionary) में existency check करने के लिए use किया जाता है , जैसे हमें ये check करना हो कि किसी list में कोई particular element है या नहीं।

Python Membership Operator Example

example में तीन variables (list , set और tuple) लिए गएँ हैं इनमे simply check किया है कि कोई particular element उनमे exist करता है या नहीं।

अगर आप list , set और tuple etc के बारे में नहीं जानते तो कोई बात नहीं आगे आप इन्ही के बारे में अच्छे से पढ़ेंगे।

I Hope, अब आप Python में use होने वाले operators के बारे में अच्छे से समझ गए होंगे।

Related Topics :

Rahul Kumar

Rahul Kumar

Hi ! I'm Rahul Kumar Rajput founder of learnhindituts.com. I'm a software developer having more than 4 years of experience. I love to talk about programming as well as writing technical tutorials and blogs that can help to others. I'm here to help you navigate the coding cosmos and turn your ideas into reality, keep coding, keep learning :)

Get connected with me. :) LinkedIn Twitter Instagram Facebook

b2eprogrammers

Note - The topics / blogs on the website is written with minimal errors, if you find an error somewhere or would like to advise / appreciate you can mail us at [email protected] - Thank You.

Watch Video.

Description ☞

Do like and subscribe the channel ☻

DataFlair

Free Python Certification Course [Hindi] – Learn Python from Scratch

course demo

What will you take home from this Free Python Course?

  • 50+ hrs of self-paced video course
  • 70+ Real-time projects with implementation
  • 170+ hrs of study material, practicals, quizzes
  • Practical course with real-time case-studies
  • Lifetime access with industry renowned certification

Why should you enroll in this Free Python Course?

  • Learn Python from scratch
  • Learn full stack Python development
  • Work on real-time use-cases and live projects
  • Learn advanced python concepts like decorators
  • Get to know the top python frameworks
  • Understand how Python helps in Machine Learning
  • Build industry-grad GUIs with Python
  • Able to use Python to solve tasks and implement it
  • Learn to build your own modules and packages
  • Learn to use the object oriented programming with Python
  • Beginner friendly course which makes you an expert
  • Work with images and files

Why should you learn Python?

What to do before you begin your free python course.

Python Course Prerequisites - DataFlair

Online Python Training Course Curriculum

  • Introduction to Python
  • installation & configuration of Python
  • Python Features
  • Statements, Indentation-alignment, and Comments
  • Reasons – Why you must learn Python
  • Benefits and Limitations of Python
  • Career in Python
  • Real-world applications of Python
  • Python top Compilers and Interpreters
  • Python Variable Scope
  • Different Data Types in Python
  • Bitwise Operators
  • Comparison Operators
  • Operator Precedence
  • Ternary Operators
  • Switch-case in Python
  • Python Loops
  • Python play with Numbers
  • Python String Formatters
  • Escape Sequences in Python
  • Play with String Functions and String Operations in Python
  • Python repr() & other important Functions
  • List Comprehension
  • The array Module
  • The zip() Function
  • Tuples vs Lists
  • Python Slicing
  • Python Binary Sequence Types- bytes, bytearray, memoryview
  • Dictionaries in Python – how to use them in live projects
  • Sets in Python
  • Booleans in Python
  • Functions in Python – how to resuse them
  • Python Lambda Functions
  • Python Function Arguments
  • Python Recursion – powerfull ways to call oneself
  • Decorators in Python – master the advanced concepts
  • Closure in Python
  • Working with Itertools in Python
  • Python Counter
  • Python Defaultdict
  • Python OrderedDict
  • namedtuple in Python
  • Python Numeric Modules- math, decimal, random
  • Play with Random module
  • Python calendar
  • Python datetime Module
  • Python pip and PyPI
  • Python Modules vs Packages – Which one is right for you?
  • Python Multithreading – efficiently perform multiple tasks
  • Working with Date and Time module in Python
  • Python Namespace and Scope – detailed understanding
  • Python Terminologies – master them all
  • Deep Copy vs Shallow Copy in Python
  • Assert Statements in Python
  • Python Pretty-Printing with pprint
  • Python Virtual Environments
  • CGI Programming with Python
  • Play with urllib
  • Python XML Processing
  • Sending Mail with Python
  • Python Methods vs Functions
  • Magic (Dunder) Methods in Python
  • Python Classes
  • Python Objects
  • Inheritance in Python – Understand code reusability
  • Python Multiple Inheritance
  • Python Operator Overloading
  • Python Generators vs Iterators
  • Understanding Serialization with pickle
  • Python property Decorator
  • Python Generators
  • Python Errors and Exceptions
  • Python Exception Handling with real-time examples
  • Python Testing with unittest
  • Python Read and Write Files
  • Python Manage Directories
  • Python OS Module – interact with Operating System
  • Python shutil Module
  • Python – Copying Renaming Zipping Files
  • Python Regular Expressions – Powerful data manipulation tool
  • Networking in Python – It’s time for a Python Networking
  • Python Images Processing Libraries
  • Python GUI Programming
  • Python Powerful Tools
  • Accessing the Database using Python
  • The Python Debugger (pdb)
  • Logging with Python
  • Python Multiprocessing
  • Python Web Frameworks
  • Python Django
  • Python Flask
  • Python vs Java
  • Python vs C
  • Python vs C++
  • Python vs Scala
  • Python vs R

Features of Python Online Course in Hindi

data flair feature course image 1

Our students are working in leading organizations

dataflair placement companies

Python Online Training FAQs

It is a completely free python course and there is no payment required

The python for beginners course will be available for the lifetime, which includes sessions along with the complete Python study material, python practicals, and python projects.

The doubts can be posted on the discussion forum. Our support team will answer the python queries

For Python practicals, We will provide manual and study material in the LMS and you need to install it on your system.

To attend this free Python training, you just need a laptop or PC with a good internet connection. You must be eager to learn inorder to carve your career in a booming field.

To attend this free online Python training, you just need a laptop or a PC with minimum 4GB RAM. Nothing else is required to learn it.

It is recommended to have a minimum of an i3 processor, 20 GB free disk, and 4 GB RAM for installing python and related software.

Yes, this python course in hindi covers all the basics python concepts to learn python programming and also includes the foundation topics for a person looking for data science job. Our free python training starts with basics then we cover multiple workshops, POCs, and live projects. These python classes will help you get your dream Data Science job in the industry.

This python course not only covers python basics for beginners but also includes full stack python development. When you finish this free course, you will be equipped with practical skills and theoretical knowledge the industry looks for. You will bloom into a certified Python professional who is ready to take on Data Science Projects in top organizations.

DataFlair has blend of students from 130+ Countries. Apart from India, we provide training in the US, UK, Singapore, Canada, UAE, France, Brazil, Ireland, Indonesia, Japan, Sri Lanka, and many others covering the globe. You can learn python free from across the world with our innovative online training.

This free python training program in hindi is entirely online and self-paced.

Yes, you will be provided with an industry-recognized python certification.

Once you finish this python certification course, you will work on real-time Python projects after successful submission, you will be awarded DataFlair python online course certification.

You will be doing Python real life projects in different domains like retail, banking, and finance. After successful completion of this best python course, we will assign 100+ live projects on python, the projects are derived from industry requirements and real-world problems

This python full course in Hindi is a job-oriented program and will prepare you completely for interviews. After working on tons of python projects, you will be ready to work in the industry, we will offer job portal where we post relevant jobs, now whichever python job is matching your profile you can apply there.

This python hindi course contains both theoretical and practical concepts as well as real-time python projects.

Here you can learn python from scratch with fundamental concepts, after that you can jump to intermediate level and make hands dirty with python practicals. At the end work on live projects to master the python programming language.

Yes, you can attend the demo Python class recording on this course page to understand the python training quality we provide. This is what creates the difference between DataFlair and other online Python training providers.

Python is the technology that will open many doors for you. Not only is it a general-purpose language, it is used everywhere from scripting and web scraping to hot topics like Data Science and Machine Learning. With Python, you can be a:

  • Python Developer
  • Data Scientist
  • Python Research Analyst
  • Software Engineer
  • Software Developer
  • Data Analyst

This free python course in Hindi gives hands-on learning with basics of python programming to real-time python projects.

This course includes python tutorial, data structures with python, basic coding in python, python programming basics, real-time examples of python programming to make you a python expert.

Self paced training with lifetime access to the course, study material, practical codes, quizzes, interview guides,

Course Content

Username or Email Address

Remember Me

dataflair-logo

  • Python Basics
  • Interview Questions
  • Python Quiz
  • Popular Packages
  • Python Projects
  • Practice Python
  • AI With Python
  • Learn Python3
  • Python Automation
  • Python Web Dev
  • DSA with Python
  • Python OOPs
  • Dictionaries

Different Forms of Assignment Statements in Python

  • Statement, Indentation and Comment in Python
  • Conditional Statements in Python
  • Assignment Operators in Python
  • Loops and Control Statements (continue, break and pass) in Python
  • Different Ways of Using Inline if in Python
  • Provide Multiple Statements on a Single Line in Python
  • Difference between "__eq__" VS "is" VS "==" in Python
  • Augmented Assignment Operators in Python
  • Increment += and Decrement -= Assignment Operators in Python
  • Nested-if statement in Python
  • How to write memory efficient classes in Python?
  • A += B Assignment Riddle in Python
  • Assign Function to a Variable in Python
  • Python pass Statement
  • Python If Else Statements - Conditional Statements
  • Data Classes in Python | Set 5 (post-init)
  • Assigning multiple variables in one line in Python
  • Assignment Operators in Programming
  • What is the difference between = (Assignment) and == (Equal to) operators

We use Python assignment statements to assign objects to names. The target of an assignment statement is written on the left side of the equal sign (=), and the object on the right can be an arbitrary expression that computes an object.

There are some important properties of assignment in Python :-

  • Assignment creates object references instead of copying the objects.
  • Python creates a variable name the first time when they are assigned a value.
  • Names must be assigned before being referenced.
  • There are some operations that perform assignments implicitly.

Assignment statement forms :-

1. Basic form:

This form is the most common form.

2. Tuple assignment:

    

When we code a tuple on the left side of the =, Python pairs objects on the right side with targets on the left by position and assigns them from left to right. Therefore, the values of x and y are 50 and 100 respectively.

3. List assignment:

This works in the same way as the tuple assignment.

 

4. Sequence assignment:

In recent version of Python, tuple and list assignment have been generalized into instances of what we now call sequence assignment – any sequence of names can be assigned to any sequence of values, and Python assigns the items one at a time by position.

 

5. Extended Sequence unpacking:

It allows us to be more flexible in how we select portions of a sequence to assign.

Here, p is matched with the first character in the string on the right and q with the rest. The starred name (*q) is assigned a list, which collects all items in the sequence not assigned to other names.

This is especially handy for a common coding pattern such as splitting a sequence and accessing its front and rest part.

 

6. Multiple- target assignment:

 

In this form, Python assigns a reference to the same object (the object which is rightmost) to all the target on the left.

7. Augmented assignment :

The augmented assignment is a shorthand assignment that combines an expression and an assignment.

      

There are several other augmented assignment forms:

Please Login to comment...

Similar reads.

  • python-basics
  • Python Programs

Improve your Coding Skills with Practice

 alt=

What kind of Experience do you want to share?

  • Computer Fundamentals in Hindi – कंप्यूटर फंडामेंटल्स को समझें
  • What is Computer in Hindi – कंप्यूटर क्या है? [PDF]
  • Computer Essay in Hindi – कंप्यूटर पर निबंध लिखें [PDF]
  • History of Computer in Hindi – कंप्यूटर का इतिहास भारत में
  • कंप्यूटर के फायदे (Advantages of Computer in Hindi)
  • कंप्यूटर के नुकसान (Disadvantages of Computer in Hindi)
  • Computer Generation in Hindi – कंप्यूटर की जनरेशन (पीढ़ियां)
  • कंप्यूटर की विशेषताएं (Characteristics of Computer in Hindi)
  • Components of Computer in Hindi – कंप्यूटर के घटकों
  • हार्डवेयर क्या है (What is Hardware in Hindi)? पूरी जानकारी
  • हार्डवेयर के प्रकार (Types of Hardware in Hindi)
  • सीपीयू क्या है (What is CPU in Hindi)
  • कंप्यूटर मेमोरी क्या है (Computer Memory in Hindi)
  • Primary Memory in Hindi – प्राथमिक मेमोरी क्या है? और प्रकार
  • Secondary Memory in Hindi – सेकेंडरी मेमोरी क्या है? इसके प्रकार
  • हार्ड डिस्क क्या है (What is Hard Disk in Hindi)
  • Motherboard in Hindi – मदरबोर्ड क्या है? और इसके प्रकार को जानें
  • Input Device in Hindi (कंप्यूटर इनपुट डिवाइस और प्रकर)
  • What is Output Device in Hindi – आउटपुट डिवाइस क्या है? [PDF]
  • What is Number System in Hindi – नंबर सिस्टम क्या है?
  • Decimal Number System in Hindi – डेसीमल नंबर सिस्टम क्या है?
  • Binary Number System in Hindi – बाइनरी नंबर सिस्टम क्या है?
  • MS Word in Hindi – एमएस वर्ड क्या है? पूरी जानकारी
  • एमएस वर्ड की विशेषताएं – Features of MS Word in Hindi
  • MS Word Ribbon in Hindi – रिबन क्या है? पूरी जानकारी
  • MS Word Home Tab in Hindi – होम टैब का उपयोग करना सीखें
  • MS Word Insert Tab in Hindi: Insert टैब का उपयोग करें
  • वेब डेवलपर कैसे बने? (2024 में Web Developer बनने की जानकारी)
  • वेब डिज़ाइनर कैसे बने? 2023 (3 महीने में Web Designer बनें)
  • What is Bootstrap in Hindi – बूटस्ट्रैप क्या है? इसका उपयोग
  • प्रोग्रामिंग लैंग्वेज क्या है (Programming Language in Hindi)?
  • प्रोग्रामिंग भाषा के प्रकार (Types of Programming Languages)
  • High Level Language in Hindi (उच्च स्तरीय कंप्यूटर भाषा क्या है)
  • Low Level Language in Hindi – लो लेवल लैंग्वेज क्या है?
  • Machine Language in Hindi (मशीनी भाषा क्या है)?
  • इंटरप्रेटर क्या है (What is Interpreter in Hindi)? पूरी जानकारी
  • कम्पाइलर क्या है (Compiler in Hindi)? पूरी जानकारी
  • Assembly Language in Hindi – असेम्बली भाषा को समझें
  • Object Oriented Programming in Hindi (OOPs in Hindi)
  • Inheritance in Hindi – इनहेरिटेंस क्या है? पूरी जानकारी
  • Polymorphism in Hindi – पॉलीमोरफ़िज्म क्या है? पूरी जानकारी
  • Abstraction in Hindi – एब्स्ट्रेक्शन क्या है? इसके प्रकार
  • Encapsulation in Hindi – एनकैप्सुलेशन क्या है? इसके प्रकार
  • Code in Hindi – कोड क्या है? इसके प्रकार और उपयोग
  • कोडिंग क्या है (What is Coding in Hindi)? पूरी जानकारी
  • कोडिंग कैसे सीखे (How to Learn Coding)? पूरी जानकारी
  • React JS Tutorial in Hindi (Full React Course in Hindi PDF)
  • React JS क्या है (What is React JS in Hindi)?
  • Install React JS in Hindi – React JS Install करें (Win, Mac, Linux)
  • JSX in Hindi – React में JSX क्या है
  • React में Component क्या है हिंदी में जानें
  • State in React in Hindi (ReactJS में State क्या है)
  • Props in React js in Hindi (Props का उपयोग कैसे करें)
  • Events Handling in React Js in Hindi (उपयोग कैसे करें)
  • React Fragments in Hindi (रिएक्ट फ्रैगमेंट को समझें)
  • Hooks in React in Hindi (Hooks की पूरी जानकारी)
  • डेटाबेस की पूरी जानकारी
  • डेटाबेस के प्रकार
  • डीबीएमएस क्या है
  • DBMS के प्रकार हिंदी में
  • रिलेशनल डेटाबेस की पूरी जानकारी
  • डेटा मॉडल और इसके प्रकार
  • Data independence in DBMS in Hindi
  • DBMS Architecture in Hindi
  • Three Level Architecture of DBMS in Hindi
  • ER Model in Hindi (Entity Relationship)
  • Keys in DBMS in Hindi (DBMS में Keys क्या है)?
  • Types of Keys in DBMS in Hindi (Keys के प्रकार)
  • Primary Key in DBMS in Hindi (प्राथमिक कुंजी)
  • Super Key in DBMS in Hindi (with Example)
  • Candidate Key in DBMS in Hindi (with Example)
  • Foreign Key in DBMS in Hindi (विदेशी कुंजी)
  • Alternate Key in DBMS in Hindi (with Example)
  • Composite key in DBMS in Hindi (with Example)
  • Unique Key in Hindi with Example
  • Normalization in DBMS in Hindi (नॉर्मलाइजेशन क्या है)?
  • SQL क्या है (What is SQL in Hindi)? पूरी जानकारी
  • Syntax of SQL in Hindi – SQL का सिंटैक्स को समझें
  • SQL Commands in Hindi – SQL कमांड क्या है? और प्रकार
  • SQL Data Types in Hindi – SQL डेटा प्रकार को समझें
  • वेबसाइट डिजाइनिंग क्या है? – What is Web Design in Hindi
  • वेब ब्राउज़र क्या है (Web Browser in Hindi) पूरी जानकारी
  • What is Domain in Hindi – डोमेन क्या है? इसके प्रकार
  • वेबसाइट क्या है (What is Website in Hindi)?
  • What is Hosting in Hindi – होस्टिंग क्या है? पूरी जानकारी
  • जावा क्या है (What is Java in Hindi)।
  • Core Java In Hindi – कोर जावा क्या है? हिंदी में सीखें
  • History of Java in Hindi – जावा का इतिहास हिंदी में जानें
  • Features of Java in Hindi – जावा की विशेषताएं [2024]
  • सी लैंग्वेज क्या है – What is C Language in Hindi [PDF 2024]
  • History of C Language in Hindi – C का इतिहास
  • Features of C Language in Hindi (सी भाषा की विशेषताएं)
  • Tokens in C in Hindi (टोकन क्या है)? पूरी जानकारी
  • वेरिएबल क्या है (Variables in C in Hindi)
  • Data Types in C in Hindi – C के Data Types समझें
  • Functions in C in Hindi (सी में फंक्शन क्या है)
  • Decision Making in C in Hindi (if, else, Nested, Switch)
  • What is Loop in C in Hindi (लूप क्या है)?
  • Array in C in Hindi – सी में ऐरे क्या है? पूरी जानकारी
  • Pointer in C in Hindi – सी में पॉइंटर क्या है?
  • Recursion in C in Hindi – C में रिकर्सन क्या है? और प्रकार
  • Structure in C in Hindi – सी स्ट्रक्चर क्या है? पूरी जानकारी
  • C++ क्या है (What is C++ in Hindi)? पूरी जानकारी
  • सॉफ्टवेयर इंजीनियरिंग क्या है? Software Engineering in Hindi
  • SDLC क्या है (What is SDLC in Hindi)? पूरी जानकारी
  • Waterfall Model in Hindi (वाटरफॉल मॉडल क्या है)? जानें

Tutorial In Hindi

Decision Making in Python in Hindi (if, else, Nested)

इस लेख "Decision Making in Python in Hindi" में, जानिए पाइथन में डिसिशन मेकिंग स्टेटमेंट क्या है और इसके प्रकार को उदाहरणों के साथ समझें।

Decision Making in Python in Hindi : किसी प्रोग्राम में निर्णयों (Decisions) का उपयोग तब किया जाता है जब प्रोग्राम में कोड ब्लॉक निष्पादित करने के लिए सशर्त (Conditional) विकल्प होते हैं।

मतलब पायथन में, Decision-making statements वे होते हैं जो यह तय करते हैं कि किसी condition के आधार पर बयानों के एक ब्लॉक को निष्पादित किया जाना है या नहीं।

पाइथन में Decision Making बहुत महत्वपूर्ण concepts है। आपकी प्रोग्रामिंग यात्रा में, निर्णय लेना (decision-making) शुरू से अंत तक आपके साथ रहेगा। हर स्तर पर, आपको एक condition के आधार पर कुछ निर्णय (decisions) लेने की आवश्यकता होती है।

नोट : पाइथन में डिसिशन मेकिंग को समझना शुरू करने से पहले पाइथन भाषा की बुनियादी ज्ञान जैसे कि पाइथन में वेरिएबल , डेटा प्रकार और पाइथन ऑपरेटरों क्या होता है समझें ।

Table of Contents

Decision Making in Python in Hindi (परिचय)

पाइथन में, निर्णय लेने वाले बयान (Decision making statements) वे होते हैं जो यह तय करते हैं कि किसी शर्त के आधार पर बयानों के एक ब्लॉक को निष्पादित करना है या नहीं । Decision making statements को सशर्त बयान (Conditional Statements) भी कहा जाता है।

आइए एक साधारण उदाहरण लेते हैं:

मान लीजिए कि आप एक खेल के लिए एक कार्यक्रम (program) लिख रहे हैं। इसलिए हर कदम पर हमें निर्णय (decisions) लेने की जरूरत है जैसे:

  • यदि उपयोगकर्ता ‘b’ कुंजी दबाता है, तो character आगे बढ़ेगा ।
  • यदि उपयोगकर्ता ‘ spacebar ‘ दबाता है, तो character नीचे हो जाएगा ।
  • और यदि चरित्र एक बाधा में चला जाता है, तो खेल समाप्त हो जाता है अन्यथा हम खेलना जारी रखते हैं।

प्रोग्रामिंग में हर जगह इस तरह के निर्णयों की आवश्यकता होती है और वे प्रोग्राम निष्पादन के प्रवाह की दिशा तय करते हैं।

पाइथन प्रोग्राम में Decision Making Statement क्या है?

पाइथन प्रोग्राम में निर्णय लेने वाली बयान (Decision Making Statement) संरचनाओं की आवश्यकता होती है कि प्रोग्रामर प्रोग्राम द्वारा मूल्यांकन या परीक्षण करने के लिए एक या अधिक शर्तों (conditions) को निर्दिष्ट करता है, साथ ही एक बयान या बयानों के साथ निष्पादित किया जाता है यदि स्थिति TRUE निर्धारित की जाती है, और वैकल्पिक रूप से, अन्य बयानों को निष्पादित किया जाना चाहिए यदि स्थिति FALSE होने के लिए निर्धारित है।

मूल रूप से, Decision संरचना कई expressions का मूल्यांकन करती है जो outcome के रूप में TRUE या FALSE उत्पन्न करते हैं। आपको यह निर्धारित करने की आवश्यकता है कि यदि परिणाम (outcome) सही (TRUE) है या गलत (FALSE) है तो कौन सी action करनी है और कौन से statements को निष्पादित (execute) करना है।

पाइथन भाषा में पाए जाने वाले विशिष्ट निर्णय लेने की संरचना का सामान्य रूप निम्नलिखित है:

Decision Making in Python in Hindi

Python प्रोग्रामिंग भाषा किसी भी  non-zero  और  non-null  मानों को TRUE मानती है, और यदि यह शून्य (zero) या null है, तो इसे FALSE मान माना जाता है।

प्रकार: Types of Decision Making Statements in Python in Hindi

पाइथन में तीन प्रकार के निर्णय लेने वाले बयान (Decision Making Statements) हैं :

  • यदि कथन (if statement) ।
  • यदि और बयान (if…else statements) ।
  • नेस्टेड अगर बयान (nested if statements) ।

आइए इन तीनो प्रकार के Decision Making Statements को समझते है –

पाइथन if स्टेटमेंट क्या है (if statement in Python)

if स्टेटमेंट में एक तार्किक अभिव्यक्ति (logical expression) है, जिसके उपयोग से डेटा की तुलना की जाती है और तुलना के परिणाम के आधार पर निर्णय (decision) लिया जाता है।

मूल रूप से, इसमें एक कंडीशन और स्टेटमेंट्स का एक ब्लॉक होता है। यदि कंडीशन True है, तो इंटरप्रेटर स्टेटमेंट्स के ब्लॉक को निष्पादित करता है, अन्यथा नहीं ।

Flow Diagram :

Syntax of if statement:

Example of if statement:

निम्न प्रोग्राम में, यदि संख्या n धनात्मक (positive) है, तो हम उपयोगकर्ता के लिए एक संदेश प्रिंट करते हैं:

पाइथन if-else स्टेटमेंट क्या है (Python if…else statements)

इफ-एल्स स्टेटमेंट में एक कंडीशन और स्टेटमेंट के दो ब्लॉक होते हैं: if-block और else-block । यदि स्थिति TRUE है, तो दुभाषिया (interpreter) if-block को निष्पादित करता है, या यदि स्थिति गलत है, तो दुभाषिया else-block को निष्पादित करता है।

Syntax of if-else statement:

Example of if-else statement:

nested if स्टेटमेंट क्या है (Python nested if statements)

if स्टेटमेंट्स के अंदर if स्टेटमेंट्स रखते हैं तो इसे नेस्टेड if स्टेटमेंट्स कहा जाता है।

मूल रूप से, ऐसी condition हो सकती है जब आप एक condition के TRUE में हल होने के बाद दूसरी स्थिति की जांच करना चाहते हैं। ऐसे में आप नेस्टेड if कंस्ट्रक्शन का इस्तेमाल कर सकते हैं।

नेस्टेड if कंस्ट्रक्शन में, आप if…elif…else किसी और if…elif…else कंस्ट्रक्शन के अंदर बना सकते हैं।

निम्नलिखित program में, हम उपयोगकर्ता को संदेश प्रिंट करते हैं यदि संख्या n positive है, या negative या zero है:

Learn C Language in Hindi

यदि आप Python सीखना चाहते हैं तो यहां हमारा पूरा मुफ्त पाइथन कोर्स है जहां आप चरण-दर-चरण पाइथन सीख सकते हैं:

फ्री पाइथन कोर्स

Decision making statements प्रत्येक प्रोग्रामर के लिए बहुत महत्वपूर्ण है, Python भाषा में आप सशर्त स्थिति में निर्णय लेने के बयान का उपयोग कर सकते हैं, अर्थात कोड स्टेटमेंट के किसी भी ब्लॉक को एक शर्त के आधार पर निष्पादित करना है या नहीं।

इस लेख “Decision Making in Python in Hindi” में, हमने Python में विभिन्न प्रकार के निर्णय लेने वाले बयानों को सीखा, और विभिन्न परिदृश्यों को भी सीखा जहां इन निर्णय लेने वाले बयानों का उपयोग किया जा सकता है, उदाहरणों के साथ।

संबंधित लेख लेखक से और अधिक

पाइथन भाषा के लाभ और नुकसान को हिंदी में जानें, python variables in hindi – इसका उपयोग करना सीखें, python data types in hindi (पूरी जानकारी), कोई जवाब दें जवाब कैंसिल करें.

अगली बार टिप्पणी के लिए इस ब्राउज़र में मेरा नाम, ईमेल और वेबसाइट सहेजें

Please enter an answer in digits: twenty − seven =

  • Get in Touch
  • Privacy Policy

Computer Hindi Notes

पाइथन if, if_else और if_elif_else कण्ट्रोल स्टेटमेंट

पाइथन if, if_else और if_elif_else कण्ट्रोल स्टेटमेंट (python if, if_else or if_elif_else control statements).

  • पाइथन प्रोग्रामिंग लैंग्वेज मे तीन प्रकार के control Statement होते है| Python में if, if_else और if_elif_else ये तीन प्रकार के Control Statements होते है |

Table of Contents

  • if statement
  • if_else statement
  • if_elif_else statement
  • Control statement का अर्थ है जब तक प्रोग्राम मे दी गई कोई condition सत्य (true) नहीं होती तब तक यह अपने statement को execute नहीं करता है|

if Statement

if statement का प्रयोग बहुत सारी प्रोग्रामिंग लैंग्वेज में प्रयोग किया जाता है जैसे की c, c++, java आदि इसी प्रकार पाइथन मे भी if statement का प्रयोग किया जाता है|

if statement एक control statement है जिसका प्रयोग एक विशेष कंडीशन को test करने के लिए किया जाता है. इसमें कंडीशन केवल एक बार execute होती है जब कंडीशन सत्य होती है| if statement मे जब कोई condition true होती है तब ही यह statement को execute करता है और यदि condition false होती है तब यह statement को execute नहीं करता है|

assignment statement in python in hindi

if_else Statement

  • किसी विशेष कंडीशन को test करने के लिए if-else statement का प्रयोग किया जाता है. यदि कंडीशन सत्य है तो if statement को execute किया जाता है अगर कंडीशन असत्य है तो else statement को execute किया जाता है|

assignment statement in python in hindi

if_elif_else Statement

if_elif_else statement मे अगर if block की condition true होगी तो if block का स्टेटमेंट प्रिंट होगा अगर if ब्लॉक की कंडीशन false होगी तो फिर elif ब्लॉक check होगा elif true होने पर elif block का statement प्रिंट होगा,अगर if और elif दोनों false होंगे तो else block का statement प्रिंट होगा |

assignment statement in python in hindi

Output : a is equal to b

सरल शब्दों में सारांश

  • if statement एक control statement है जिसका प्रयोग एक विशेष कंडीशन को test करने के लिए किया जाता है. इसमें कंडीशन केवल एक बार execute होती है जब कंडीशन सत्य होती है
  • if_elif_else statement मे अगर if block की condition true होगी तो if block का स्टेटमेंट प्रिंट होगा अगर if ब्लॉक की कंडीशन false होगी तो फिर elif ब्लॉक check होगा

Related Posts

Function in Python

Function in Python

Python Lists

Python Lists

पायथन का इतिहास, उपयोग और लाभ

पायथन का इतिहास, उपयोग और लाभ

Python Dictionary with Example

Python Dictionary with Example

Start typing and press enter to search, dca के सभी नोट्स, पुराने पेपर और महत्वपूर्ण प्रश्न उत्तर, pgdca के सभी नोट्स, पुराने पेपर और महत्वपूर्ण प्रश्न उत्तर.

IMAGES

  1. Python Tutorial for Beginners in Hindi

    assignment statement in python in hindi

  2. Arithmetic and Assignment Operators in Python in Hindi

    assignment statement in python in hindi

  3. Learn Python variables and assignment statement in Hindi हिन्दी Video 6

    assignment statement in python in hindi

  4. What is Python statement in Hindi

    assignment statement in python in hindi

  5. Python tutorials in Hindi : 02 Assignment Solution and Comments in Python

    assignment statement in python in hindi

  6. Python Statement (Hindi)

    assignment statement in python in hindi

VIDEO

  1. Assignment

  2. if statement Python! @Coding_Py #python #coding #programming

  3. Assignment Statement In #python #computerprogram

  4. If_Statement|Python_course

  5. Python Statement, Indentation and Comments

  6. Python tutorial in Hindi 66 : Class Variables

COMMENTS

  1. Assignment Operators in Python (Hindi)

    Assignment Operators in PythonCore Python Playlist: https://www.youtube.com/playlist?list=PLbGui_ZYuhigZkqrHbI_ZkPBrIr5Rsd5L HTML Tutorials : http://goo.gl/O...

  2. Python

    Python in Hindi | Page: 602 | Format: PDF. BUY NOW GET DEMO REVIEWS. Python - Assignment Statements - पिछले Chapter तक हमने Python द्वारा Supported विभिन्‍न Core Types को विस्‍तार से समझा। अब हम विभिन्‍न प्रकार के Python ...

  3. What are Assignment Operators in Python

    In this video from the complete Python tutorial for beginners series, you will learn what is operators in Python and complete details about assignment operat...

  4. Python Assignment Operators in Hindi

    In this video you will learn about assignment operators in python with code examples in hindi.There are total 8 types of assignment operators, we will discus...

  5. Assignment Statements in Python

    Multiple Target Assignment: All Numbers are same again: 10 10 10. Shorthand Assignment: Same as firstNo = firstNo + 10: 20. [/code] इस Example में Tuple Positional Assignment के रूप में जब हम निम्‍नानुसार Assignment Statement Specify करते हैं-. firstName, lastName ...

  6. The Assignment Statement and Type in Python

    *use headphone or earphone for better audio experience* The assignment statement and type part 1 of 2 in python. This is the first lesson of introduction to programming using python. (In Hindi) This lecture is most important for students who wants to start from the scratch and new to programming.

  7. Python Certification Course [Hindi]

    You will gain a firm foundation in Python, one of the most flexible and used programming languages worldwide, with the completion of this Python course. Not only is it a thrilling chance, but learning Python has several advantages. Python, one of the most user-friendly programming languages, is made much more comprehensible when taught in Hindi.

  8. Python in easy way in Hindi : Python for beginners

    Python in Hindi , Best course for beginners in hindi , Interview preparation, python for freshers in Hindi, Easy PythonRating: 4.5 out of 5221 reviews14 total hours103 lecturesAll LevelsCurrent price: $59.99. Dr. Gaurav Khandelwal. 4.5 (221)

  9. Assignment Statements

    Assignment Statements - Example 2 - पिछले Example में हमने जितने भी तरह के Assignments देखे, वे सभी Python Assignments के Basic Forms हैं। इसलिए इन सभी को हम कई और Different तरीकों से भी Use कर सकते हैं और Different Types के Objects ...

  10. python operators in hindi पाइथन ऑपरेटर

    python operators in hindi:-. आज हम इस पोस्ट में python operators के बारें में पढेंगे और इसके types के बारें में जानेंगे तो चलिए शुरू करते है:-. operator एक symbol है जो कि एक ...

  11. Python Tutorials In Hindi| LearnHindiTuts

    Python Tutorials In Hindi. Python. Python एक Object-oriented, High level programming language है, जिसका use Website building, App development, Machine learning, Data analysis, Web scraping में किया जाता है। Python को general purpose programming language भी कहा जाता है ...

  12. 6- Python

    About This Video :-in this video i will show you that what is Assignment Operator and how to use assignment operator .lets learn step by step about Python Op...

  13. Operators in Python in Hindi

    What are Operators in Python in Hindi. Operators ऐसे special symbols या phrase of alphabets होते हैं जिनका meaning और use Python में पहले से fix होता है. Python operators का use हम अपने Python programs में specific mathematical और logical operations ...

  14. Python Tutorial in Hindi (Full Python Course PDF)

    Lesson 5: Set up Python on system. यदि आप पहले के पाइथन पाठ 1 से 4 तक पूरा करते हैं, तो अब आपके पास पाइथन भाषा के बारे में ठोस जानकारी है।. तो चलिए एक कदम आगे बढ़ते हैं और उन्नत ...

  15. The Assignment Statement and Type in Python

    *use headphone or earphone for better audio experience* This is the second lesson [The Assignment Statement and Type in python part 2 of 2 (in Hindi)] of the course Introduction to programming using python. The students who had not watched part 1, first watch it then proceed with this lesson.

  16. Python Operators In Hindi

    Python Operators In Hindi ... \Users\Rahulkumar\Desktop\python>python assignment_op.py 10 4 2.3333333333333335 2 21 Python Comparison Operators. Comparison Operators दी हुई दो values को compare करके Boolean value True / False return करते हैं. Python में Comparison Operators को कुछ इस ...

  17. Python Operators in Hindi (पाइथन ऑपरेटर को समझें)

    पहचान (Identity) ऑपरेटर ।. Membership Test ऑपरेटर ।. बिटवाइज़ (Bitwise) ऑपरेटर ।. आइए इन सभी पाइथन ऑपरेटर्स को उदाहरण के साथ एक-एक करके समझते हैं -. 1. Python Arithmetic ...

  18. Free Python Certification Course [Hindi]

    Looking to learn Python? Our Free Python course in Hindi is the perfect solution! From fundamentals to advanced concepts, you'll master the language and become a Python pro in no time. With hands-on exercises, real-world examples, and expert instruction, this course is the ultimate resource for anyone looking to enhance their skills in Python programming.

  19. Learn Python variables and assignment statement in Hindi ...

    Learn Python variables and assignment statement in Hindi The id() is function not operator

  20. Assign Value with If Statement in Python

    Using Elif Statements: Handle multiple conditions by chaining multiple if-else statements. Using Ternary Operators: Perform conditional assignments in a single line for compact code. Practical Example. Example: Assigning Values with If Statements. Basic If Statement: Define a condition and assign a value if the condition is true. Using Else ...

  21. Different Forms of Assignment Statements in Python

    Multiple- target assignment: x = y = 75. print(x, y) In this form, Python assigns a reference to the same object (the object which is rightmost) to all the target on the left. OUTPUT. 75 75. 7. Augmented assignment : The augmented assignment is a shorthand assignment that combines an expression and an assignment.

  22. Decision Making in Python in Hindi (if, else, Nested)

    प्रकार: Types of Decision Making Statements in Python in Hindi. पाइथन में तीन प्रकार के निर्णय लेने वाले बयान (Decision Making Statements) हैं: यदि कथन (if statement) ।. यदि और बयान (if…else statements ...

  23. Python Multiple Assignment in Hindi 10

    Python allows multiple assignments, or chained assignments, to assign multiple variables or expressions at once. In this video, we explain to you how to assi...

  24. पाइथन if, if_else और if_elif_else कण्ट्रोल स्टेटमेंट

    if statement; if_else statement; if_elif_else statement; Control statement का अर्थ है जब तक प्रोग्राम मे दी गई कोई condition सत्य (true) नहीं होती तब तक यह अपने statement को execute नहीं करता है|