#11 Python Tutorial for Beginners | Operators in Python

Поділитися
Вставка
  • Опубліковано 10 лют 2025
  • Check out our courses:
    Java Full Stack and Spring AI - go.telusko.com...
    Coupon: TELUSKO10 (10% Discount)
    DevOps with AWS: From Basics to Mastery : go.telusko.com...
    Coupon: TELUSKO10 (10% Discount)
    Master Java Spring Development : go.telusko.com...
    Coupon: TELUSKO20 (20% Discount)
    Udemy Courses:
    Spring: go.telusko.com...
    Java:- go.telusko.com...
    Java Spring:- go.telusko.com...
    Java For Programmers:- go.telusko.com...
    Python : go.telusko.com...
    Git : go.telusko.com...
    Docker : go.telusko.com...
    For More Queries WhatsApp or Call on : +919008963671
    website : courses.telusk...
    Instagram : / navinreddyofficial
    Linkedin : / navinreddy20
    TELUSKO Android App : bit.ly/TeluskoApp
    In this lecture we will learn:
    Different types of operators in Python
    Use of different operators
    Operation performed between different operators
    Logical operators and their uses
    #1
    Types of operators in Python:
    1. Arithmetic operators
    2. Assignment operators
    3. Relational operators
    4. Logical operators
    5. Unary operators
    Arithmetic operators are used to perform mathematical operations like addition, subtraction, multiplication, division, etc.
    Assignment operation is performed with the help of equal to(=), in which we can assign a value to the variable.
    We can also do the assignment by short-hand which means performing an arithmetic operation and then assigning the value both at the same time.
    We can also assign the values in one line for two variables.
    a,b = 5,6
    Unary operator takes a single operand in an expression or a statement.
    Comparison can be performed with the help of relational operators.
    Comparison operators return a boolean value or True or False.
    #2
    If you want to combine two or more conditions and then check the relation between them, then logical operators are used.
    Logical operators include And, Or and Not.
    Logical operators follow the truth table for And, Or, and Not operators.
    And the operator returns True when both conditions are true otherwise returns False.
    Or the operator returns True when any of the conditions or both the conditions are True otherwise it returns False.
    Not the operator reverses the value of the output.
    Github :- github.com/nav...
    Java and Spring Framework For beginners with Spring Boot : - bit.ly/3LDMj8D
    Java Tutorial for Beginners (2023) :- bit.ly/3yARVbN
    Editing Machines & Monitors :
    amzn.to/2HA6ra8
    amzn.to/2VMBBPw
    amzn.to/2RfKWgL
    amzn.to/2Q665JW
    amzn.to/2OUP21a.
    Java:- bit.ly/JavaUde...
    Spring:- bit.ly/SpringU...
    More Learning :
    Java :- bit.ly/3x6rr0N
    Python :- bit.ly/3GRc7JX
    Django :- bit.ly/3MmoJK6
    JavaScript :- bit.ly/3tiAlHo
    Node JS :- bit.ly/3GT4liq
    Rest Api :-bit.ly/3MjhZwt
    Servlet :- bit.ly/3Q7eA7k
    Spring Framework :- bit.ly/3xi7buh
    Design Patterns in Java :- bit.ly/3MocXiq
    Docker :- bit.ly/3xjWzLA
    Blockchain Tutorial :- bit.ly/3NSbOkc
    Corda Tutorial:- bit.ly/3thbUKa
    Hyperledger Fabric :- bit.ly/38RZCRB
    NoSQL Tutorial :- bit.ly/3aJpRuc
    Mysql Tutorial :- bit.ly/3thpr4L
    Data Structures using Java :- bit.ly/3MuJa7S
    Git Tutorial :- bit.ly/3NXyCPu
    Donation:
    PayPal Id : navinreddy20
    www.telusko.com

КОМЕНТАРІ • 704