Assignment Operators in Python

Python Programming: Assignment Operators in Python
Topics discussed:
1. Introduction to Assignment Operators.
2. Assignment Operators in Python.
Python Programming Playlist: • Python Programming
Follow Neso Academy on Instagram: @nesoacademy (bit.ly/2XP63OE)
Contribute: www.nesoacademy.org/donate
Memberships: bit.ly/2U7YSPI
Books: www.nesoacademy.org/recommend...
Website ► www.nesoacademy.org/
Forum ► forum.nesoacademy.org/
Facebook ► goo.gl/Nt0PmB
Twitter ► / nesoacademy
Music:
Axol x Alex Skrindo - You [NCS Release]
#PythonByNeso #PythonProgramming #OperatorsInPython

Пікірлер: 39

  • @DrSpooglemon
    @DrSpooglemon Жыл бұрын

    It should be noted that the operators tell the python interpreter to call a corresponding magic method on the object to the left of the operator passing the object to the right as an argument. The + operator utilises the __add__ method and the += operator utilises the __iadd__ method. 'a + b' is equivalent to 'a.__add__(b)' and 'a += b' is equivalent to 'a.__iadd__(b)'. You can create bespoke behaviours in your classes using these double underscore methods(or "dunder methods").

  • @vivekacharyavivekacharya6456
    @vivekacharyavivekacharya645611 ай бұрын

    In decimal its 2 and in binary it is '0b10'

  • @ECEKOTESWARARAOM
    @ECEKOTESWARARAOM9 ай бұрын

    X=55(110111) Y=10(1010) By apply xor operator it X^=Y(111101) print (x) =61

  • @veeratzxmatey6146

    @veeratzxmatey6146

    20 күн бұрын

    X is 2 not 61

  • @MayurMitra-i9i
    @MayurMitra-i9i5 күн бұрын

    Answer = 2. Thanks for the video.

  • @khushantwankhede8311
    @khushantwankhede83116 ай бұрын

    answer : x = 2 & thankyou for making video for us

  • @moviesync3131
    @moviesync31317 ай бұрын

    2:20 I don't know what sign is that. Is that supposed to be the [and] shortcut sign...?

  • @jingersatuh6322
    @jingersatuh63226 ай бұрын

    Homework : 55 & 10 = 0b0110111 & 0b00001010 = 0b0000010 = 2 (Decimal)

  • @crazystatus8249

    @crazystatus8249

    3 ай бұрын

    How bro can you teach me

  • @suhailsnmsnm5397

    @suhailsnmsnm5397

    2 ай бұрын

    @@crazystatus8249 he did little mistake while typing but answer is correct its 2

  • @venkatraman_padmanaban
    @venkatraman_padmanaban8 ай бұрын

    Output value of x is 2

  • @monicabhattacharya9029
    @monicabhattacharya9029 Жыл бұрын

    please upload videos daily

  • @vivekacharyavivekacharya6456
    @vivekacharyavivekacharya6456 Жыл бұрын

    Sir i will request you to please upload the classes as soon as possible

  • @249srihari4

    @249srihari4

    Жыл бұрын

    Me to sir

  • @techdigital280
    @techdigital2804 ай бұрын

    Thnx a lot

  • @sarswatigoutam
    @sarswatigoutam4 ай бұрын

    Tqqq so much sirr

  • @mradulsonare2458
    @mradulsonare24585 ай бұрын

    Answer is 2

  • @danieleberenwafor6876
    @danieleberenwafor68766 ай бұрын

    Interested

  • @danielquarshie5235
    @danielquarshie52356 ай бұрын

    The decimal value is 2

  • @stevenmakatu7698
    @stevenmakatu76982 ай бұрын

    >>> x = 55 >>> y = 10 >>> x &= y >>> x

  • @pmalik1975
    @pmalik19758 ай бұрын

    Decimal value is 2

  • @suryaprakashtumu8671

    @suryaprakashtumu8671

    8 ай бұрын

    How will come 2

  • @tafaranyamhunga

    @tafaranyamhunga

    7 ай бұрын

    55 = 110111 and 10 = 1010, so 55 & 10 is 000010 or(10), and 10(2) in decimal is 2@@suryaprakashtumu8671

  • @maneeshabandaru
    @maneeshabandaru3 ай бұрын

    output=2

  • @toprashant35
    @toprashant35 Жыл бұрын

    2

  • @tharunkumar8430
    @tharunkumar84306 ай бұрын

    Answer(2)

  • @shikharbhardwaj1352
    @shikharbhardwaj13525 ай бұрын

    answer = 2

  • @imsujata546
    @imsujata546 Жыл бұрын

  • @harishmahajan6845
    @harishmahajan684511 ай бұрын

    homework answer is 2

  • @kumarp5954

    @kumarp5954

    9 ай бұрын

    But how, binary value of 55=110111 and 10=1010 so how we perform & operator in this one is 6 digit and second is 4 digit????!!

  • @kumarp5954

    @kumarp5954

    9 ай бұрын

    In my notebook, After performing x&y answer is 110010 which is 50 And computer answers is 2 why

  • @tafaranyamhunga

    @tafaranyamhunga

    7 ай бұрын

    55 = 110111 and 10 = 1010, so 55 & 10 = 000010 or(10), and 10(2) in decimal is 2@@kumarp5954

  • @rehanasultana4760
    @rehanasultana47609 ай бұрын

    65

  • @Monkey-nv3pj
    @Monkey-nv3pj Жыл бұрын

    1st like 1st view

  • @rohithreddy4603
    @rohithreddy460311 ай бұрын

    2

  • @clashroyaldaxter9072
    @clashroyaldaxter907211 ай бұрын

    2

  • @HimanshuVerma-ig5tw
    @HimanshuVerma-ig5tw8 ай бұрын

    2

  • @rathinsinha5646
    @rathinsinha56465 ай бұрын

    2