Scope of a Variable in Python | LEGB Rule in Python | Class 12 Computer Science with Python

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 พ.ย. 2024

ความคิดเห็น • 176

  • @veenalinda1737
    @veenalinda1737 ปีที่แล้ว +17

    Ma'am I can't thank you enough . I never really understood this topic but you made it crystal clear . Keep up the good work 👍

  • @Sumit_Sharma69
    @Sumit_Sharma69 11 หลายเดือนก่อน +3

    thank you madam ji your vedio helps me a lot one day before exam for quick revision

    • @SwatiChawlaofficial
      @SwatiChawlaofficial  11 หลายเดือนก่อน

      It's my pleasure
      Best wishes for your exam

  • @zeeshanahmad6877
    @zeeshanahmad6877 8 หลายเดือนก่อน +3

    Thankyou so mucch we just need a golden teacher like you thankyouu soo much ❤

  • @aryendrasinghparihar6940
    @aryendrasinghparihar6940 ปีที่แล้ว +5

    Thank you so much mam for a wonderful session. It was really helpful. Every concept is Crystal clear. You are the best teacher for the computer science in whole TH-cam community.

  • @sarojanisidar2204
    @sarojanisidar2204 3 ปีที่แล้ว +6

    Mam we need more teacher like you.
    Your teaching style is best and very easy to understand
    Thnkyou so much for giving us such a wonderfull channel

    • @SwatiChawlaofficial
      @SwatiChawlaofficial  3 ปีที่แล้ว +1

      Thanku so much..
      Really means a lot..
      Plz share it with others too..

  • @swarnabharakshit6886
    @swarnabharakshit6886 3 ปีที่แล้ว +12

    love u mam, lovely teaching fell in love with cs

  • @unnatijaswani4832
    @unnatijaswani4832 2 ปีที่แล้ว +4

    Yes, ye concept ekdum crystal clear ho gaya :)

  • @nkwrites23
    @nkwrites23 3 ปีที่แล้ว +9

    CS seems very easy with your videos mam. Very well explained . Thank you 😇😇

  • @niveditaoli17
    @niveditaoli17 ปีที่แล้ว +4

    Thank you so so much mam . Because ofyou i will able to understand this .. really mam thank you so muchhh. ❤❤🌸🌸

  • @yogeshk4230
    @yogeshk4230 3 ปีที่แล้ว +9

    Concepts are really well explained in a very easy way and with easy examples mam. Thanks a lot for your efforts . It's really very helpful for me.

  • @jaiprakashrajFf09
    @jaiprakashrajFf09 3 ปีที่แล้ว +17

    🤟🤟Hurray !!!! ALL CONCEPTS ARE CLEAR
    THANK YOU SO MUCH MA'AM 🤟🤟

  • @the_safar
    @the_safar 10 หลายเดือนก่อน +2

    It feels so happy that there is a teacher of CS here that makes us understood even better than school..

  • @letsgetcrazy6583
    @letsgetcrazy6583 2 ปีที่แล้ว +2

    Mam aapke dwara diye gaye example theory ke baad concept ko strong bana dete hai aur fir main unhe nahin bhulta .
    Thank you🙏🙏

  • @factified9892
    @factified9892 2 ปีที่แล้ว +4

    thanks ma'am, it was wonderful being taught from you.

  • @shrimayeechoudhury1597
    @shrimayeechoudhury1597 ปีที่แล้ว +5

    Mam you are just awesome 👍👍
    Our Cs teacher is also like you unlike other subject teachers 😅😅

  • @funnypetclub12
    @funnypetclub12 3 ปีที่แล้ว +4

    You are really awesome mam
    Before this lecture I was like what Im
    Doing but after this Im like I can do anything
    Love you and your teaching style

  • @darkrider3586
    @darkrider3586 2 ปีที่แล้ว +5

    *Maam,you are the best,you are the best,you are the best.I felt the hard work and pain u put in everyvideo.You deserve more!
    Keep this up teacher!
    I understood everysecond of your video!!!!*

  • @aviralpandey4830
    @aviralpandey4830 2 ปีที่แล้ว +10

    mam theory samjhane ke baad jo practically aap smjhate ho usse ekdam samjh aa jata hai thank you mam❤

  • @knowledgeseeker837
    @knowledgeseeker837 2 ปีที่แล้ว +17

    Mam I have studied whole class 12 of term 1 from you. Even I have made all the notes from your videos. Now on 21 my exam is there and now revising to score full in Cs. Thank you mam

  • @punishabharti7988
    @punishabharti7988 3 ปีที่แล้ว +4

    thank you Ma'am for this amazing lecture.

  • @MayankUpadhyay_
    @MayankUpadhyay_ 2 ปีที่แล้ว +4

    What an amazing explanation 😸
    Thanku sooo much mam for this amazing explanation, literally everything is crystal clear 🙏🙏

  • @vanshchaudhary5752
    @vanshchaudhary5752 2 ปีที่แล้ว +4

    Crystal clear!!👌🏻

  • @nisha1180
    @nisha1180 3 ปีที่แล้ว +3

    Very help full
    Thanks😊

  • @Nitian_Gagan
    @Nitian_Gagan 2 ปีที่แล้ว +4

    Mm crystal clear ❤️

  • @rajmohancs1115
    @rajmohancs1115 ปีที่แล้ว +1

    Now i understand clearly thank you ma'am

  • @bhavanasharma5713
    @bhavanasharma5713 2 ปีที่แล้ว +1

    Ma'am aap itna achcha padha rahi hai ki Vishwas hi nahin ho raha hai ki koi cs bhi acha pada sakta hai mere school ke teacher se jyada achcha to aap padha rahi hai mam thank you very much maja a Gaya itne acche se samajh mein aaya ki mast lag raha hai chapter
    Thank u mam

  • @CRIC.SHAKTI2.0
    @CRIC.SHAKTI2.0 11 หลายเดือนก่อน +1

    Thankyou ma'am for providing us quality content 💎 for Our CS and we surely score 100/100 in CS once again thankyou ma'am 🙏🙏..

  • @Akshitaaa-qh4wq
    @Akshitaaa-qh4wq 6 หลายเดือนก่อน +2

    24:40 y=a kaise krdia hmne...y bhi to global variable h

  • @basic6299
    @basic6299 3 ปีที่แล้ว

    33 minute ke bad dimag kuch kam karna band sa ho gya tha. Last me legb to samjh gya.
    Like y = a ko accept kar rha hai, par a = a + x ko nahi accept krta. Usme thora dimag chakra gya mam.
    Itni full detail me sayad hi kisi channel pe mile, isiliye i joined this channel. 👍

    • @SwatiChawlaofficial
      @SwatiChawlaofficial  3 ปีที่แล้ว +1

      Thanku so much..
      Like y = a ko accept kar rha hai, par a = a + x ko nahi accept krta.
      simply means...if the function wants to change the value of a global variable...it must use global keyword..
      Try to watch it once more to clear the concepts..

  • @vrgaming1974
    @vrgaming1974 หลายเดือนก่อน +2

    Thank you mam❤

  • @Nitian_Gagan
    @Nitian_Gagan 2 ปีที่แล้ว +1

    Ma'am love and respect.from Uttar Pradesh ,near Dudhwa National park

  • @janghupriyanshu
    @janghupriyanshu 3 ปีที่แล้ว +1

    Superb way of Explaining ma'am
    But ma'am abhi jo aap new videos bna rhi hai unki alag se playlist bna dijiye..

    • @SwatiChawlaofficial
      @SwatiChawlaofficial  3 ปีที่แล้ว

      Thanku...
      The topics..for which i have uploaded new videos...for that..old videos, I have deleted now..

    • @janghupriyanshu
      @janghupriyanshu 3 ปีที่แล้ว +1

      @@SwatiChawlaofficial ohh.. Okay ma'am got it.

  • @imrannazirvibes7647
    @imrannazirvibes7647 3 ปีที่แล้ว +1

    Thank u mam 💗.....for better way to teach us

  • @salonimarwah3044
    @salonimarwah3044 2 ปีที่แล้ว +1

    Maam the best part of your videos is the smile while teaching😃🥰

  • @dhirendrasiritacademy7182
    @dhirendrasiritacademy7182 3 ปีที่แล้ว +1

    Explanation is very nice Swati ji

  • @prashantrajput3487
    @prashantrajput3487 ปีที่แล้ว +1

    U saved me mam.. ❤️ Thankyou so much

  • @2632abhi
    @2632abhi 3 ปีที่แล้ว +1

    Excellent work, swati ma'am

  • @MyLiveStreems
    @MyLiveStreems ปีที่แล้ว +1

    Thank you ma'am...

  • @yasharthmishra7732
    @yasharthmishra7732 3 ปีที่แล้ว +2

    Thank u so much ma'am👍🙏

  • @NikhilKumar-dp4ts
    @NikhilKumar-dp4ts 4 หลายเดือนก่อน +1

    Thank you ma'am❤

  • @SandeepKumar-vu6oy
    @SandeepKumar-vu6oy 3 ปีที่แล้ว

    Best cs channel completing all the concepts

  • @HarshitaShanmugam
    @HarshitaShanmugam ปีที่แล้ว

    mam i have a doubt how b=20 global scope?
    thanks a Lot foe your beautiful teaching mam

  • @armantech8119
    @armantech8119 ปีที่แล้ว +1

    excellent lecture thanks mam

  • @axelfury3931
    @axelfury3931 2 ปีที่แล้ว +1

    thank you ma"am

  • @Magnum-000
    @Magnum-000 ปีที่แล้ว +1

    Mind blowing concept and ur hard work is marvellous. Thanks mam. I m preparing for kvs pgt

  • @kavi085
    @kavi085 3 ปีที่แล้ว +2

    Thank you Soo much ma'am ♥️😎

  • @rishabhkamal3127
    @rishabhkamal3127 ปีที่แล้ว +1

    Thank You Didi🙏🙏🙏🙏🙏🙏🙏

  • @Paradoxxnotsinger
    @Paradoxxnotsinger ปีที่แล้ว

    aye hayeeee!!!!!!!!!!!!itna sukoon

  • @swatirastogi1266
    @swatirastogi1266 2 ปีที่แล้ว +1

    Best video ever on this topic

  • @manishdutta9488
    @manishdutta9488 2 ปีที่แล้ว +1

    Mam in 26:18 y's value is also change in local scope without calling global y but it doesn't show error when we do the same with a it shows error. Please 🥺 reply mam

    • @SwatiChawlaofficial
      @SwatiChawlaofficial  2 ปีที่แล้ว +1

      Because here we are first using the variable a (y=a) before assigning the value (a=2) in local scope.
      Whereas in case of variable y , we are first assigning the value then using it.
      In short, we can't use any variable before assigning the value.
      Hope it's clear now..🙂
      I suggest you after reading this comment, please watch the explanation in the video again..
      Then it will be crystal clear 😀

    • @manishdutta9488
      @manishdutta9488 2 ปีที่แล้ว

      @@SwatiChawlaofficial Mam aap bagwan ka awtar ho. 🙏 Thank you so much

  • @SanjeevKumar-mi2wj
    @SanjeevKumar-mi2wj ปีที่แล้ว +1

    Maam , scoring Good marks in CS is very difficult ?

  • @viswaraje8441
    @viswaraje8441 3 ปีที่แล้ว +2

    Thank you sooo much mam. All my doubts are cleared. 🙏🙏🙏. Nested function and nonlocal variable me thoda confuse ho raha hai. I will watch and understand Mam
    Mam, can you put a video on list comprehension which is given in Sumita arora book in Data structures

  • @NOVA-bz5hd
    @NOVA-bz5hd 9 หลายเดือนก่อน +1

    Thank You maam

  • @computerworld2861
    @computerworld2861 ปีที่แล้ว

    How can we use... Global and local variables with same name at same time.. as both are part of any expression...where both are required?

  • @knowledgeseeker837
    @knowledgeseeker837 2 ปีที่แล้ว +1

    Thank you so much mam...

  • @remiya5453
    @remiya5453 ปีที่แล้ว +2

    Ma'am ur class is amazing and absolutely clear...

  • @vigyarthkasana6107
    @vigyarthkasana6107 3 ปีที่แล้ว +1

    Thanks for this ☺️☺️👍

  • @newtonkumar6165
    @newtonkumar6165 3 ปีที่แล้ว +6

    Ma'am your lecture is amazing ☺️ and I found it vey helpful
    Thanks a lot ma'am for helping us in these tough times.
    Ma'am I am also in kv and it is written on the thumbnail that you are pgt cs teacher.It means you are in kv
    Ma'am aap kon se kv me hai?

    • @SwatiChawlaofficial
      @SwatiChawlaofficial  3 ปีที่แล้ว +2

      Glad..u find the lectures helpful.. Please share it with others also..
      All PGT CS doesn't mean..they are in KV 🙂

    • @newtonkumar6165
      @newtonkumar6165 3 ปีที่แล้ว

      @@SwatiChawlaofficial okay ma'am😂
      Mere school ke sir bhi pGT cs hai iseliye mujhe lga kahi ap bhi hoge😅

    • @22supriyasingh50
      @22supriyasingh50 3 ปีที่แล้ว +1

      😂

  • @PritiYadav-dc9ot
    @PritiYadav-dc9ot 3 หลายเดือนก่อน

    Maa'm are you providing class 12th computer batch also please 🙏 tell me ma'am

  • @100ni_creation
    @100ni_creation 2 ปีที่แล้ว +1

    Superb

  • @Aditya-qx7nf
    @Aditya-qx7nf 3 ปีที่แล้ว

    Ma'am you haven't made any slide for nonlocal variable ? Can you reply the exact defination ?

    • @SwatiChawlaofficial
      @SwatiChawlaofficial  3 ปีที่แล้ว

      The nonlocal keyword is used to work with variables inside nested functions, where the variable should not belong to the inner function.
      Use the keyword nonlocal to declare that the variable is not local.
      Global statement permits modification of global variable in local scope and nonlocal statement permits modification of enclosing scope variable in local scope.

  • @ssubhashini6121
    @ssubhashini6121 3 ปีที่แล้ว

    22:50 Ma'am, in return statement ,don't we have to write " return a " ? Kindly clear my doubt ma'am 🙏

    • @SwatiChawlaofficial
      @SwatiChawlaofficial  3 ปีที่แล้ว

      If we don't specify any variable or expression with return statement, , by default it returns None...
      Further, the returned value is not stored in a variable also...
      According to question, it's not required...

    • @ssubhashini6121
      @ssubhashini6121 3 ปีที่แล้ว +1

      @@SwatiChawlaofficial Ok ma'am, thank you so much..

    • @SwatiChawlaofficial
      @SwatiChawlaofficial  3 ปีที่แล้ว

      Most Welcome

  • @omkarwagh7403
    @omkarwagh7403 3 ปีที่แล้ว

    mam at 25.56 you told we cant change the value of global variable with using global function but how can we assign the value of a in y then it is changing the value of global variable

    • @SwatiChawlaofficial
      @SwatiChawlaofficial  3 ปีที่แล้ว

      Plz watch it again..
      A function can't change the value of a global variable without using global keyword..
      If a function wants to change the value of a global variable, it must use global keyword

  • @rishavsingh4409
    @rishavsingh4409 3 ปีที่แล้ว

    Mam can you please suggest me what is least should we study to pass in CS i know CS very less what should I study

    • @rishavsingh4409
      @rishavsingh4409 3 ปีที่แล้ว

      I studied python 11th basics better and basics of mysql mam what is more needed theory or practical work

    • @SwatiChawlaofficial
      @SwatiChawlaofficial  3 ปีที่แล้ว

      For 2020-21 or 2021- 22 batch?

    • @rishavsingh4409
      @rishavsingh4409 3 ปีที่แล้ว

      @@SwatiChawlaofficial mam I am in 2020-21

  • @goldenfuntime4555
    @goldenfuntime4555 ปีที่แล้ว +1

    Hey , Mam , I am also going to teach Cs from may😅

  • @Ash-t8n6y
    @Ash-t8n6y ปีที่แล้ว

    miss can u provide notes of the lectures for doing revision ?

    • @SwatiChawlaofficial
      @SwatiChawlaofficial  ปีที่แล้ว

      Sure..You can enjoy special perks by joining the membership.
      Have a look at this.
      th-cam.com/channels/2vH9rqGh-fJELF8acGfBdw.htmljoin

  • @manalabdulkarimsandilkar4388
    @manalabdulkarimsandilkar4388 3 ปีที่แล้ว +1

    thank u mam

  • @AbhisheKhairnar
    @AbhisheKhairnar 2 ปีที่แล้ว

    22:34 pr jo problem hai us mai x jo parameter hai uska matlab connection kaise hua b se mere dimag k upar se gaya wo plz reply 25 answer wala

    • @letsgetcrazy6583
      @letsgetcrazy6583 2 ปีที่แล้ว

      Bhai mam ki purani wali video jisme unhone parameters samjhaya hai use dekh lo aa jayega samajh 😀
      2 video of this playlist
      th-cam.com/play/PL5Raijva2y4QCsp_YXMcx_l94VU19fvsj.html

    • @letsgetcrazy6583
      @letsgetcrazy6583 2 ปีที่แล้ว

      1st ya 2nd mai se koi hai😁

  • @clashervatsal7305
    @clashervatsal7305 ปีที่แล้ว +1

    Mam where can I get this ppt?

    • @SwatiChawlaofficial
      @SwatiChawlaofficial  ปีที่แล้ว +1

      Sure..You can enjoy special perks by joining the membership.
      Have a look at this.
      th-cam.com/channels/2vH9rqGh-fJELF8acGfBdw.htmljoin

  • @souravprakashmahapatra4846
    @souravprakashmahapatra4846 3 ปีที่แล้ว

    Can u help me I am also pgt comp.sc and I want to make some TH-cam videos ,which application r u using please help.

  • @crazysunny5447
    @crazysunny5447 3 ปีที่แล้ว

    🔥 mam...abhi ye chapter thoda rahata h na....??......nice explanation 😇

    • @SwatiChawlaofficial
      @SwatiChawlaofficial  3 ปีที่แล้ว +1

      Thanku..
      Yes..one last topic.. mutability and immutability of data object..
      That will be uploaded.. very soon..

    • @crazysunny5447
      @crazysunny5447 3 ปีที่แล้ว +1

      @@SwatiChawlaofficial 🤩👍

  • @nightmare_ninja9782
    @nightmare_ninja9782 3 ปีที่แล้ว +2

    crystal clr mam

  • @prateekkumarkori3508
    @prateekkumarkori3508 4 หลายเดือนก่อน

    Mam can you make 1 shots of all pyqs of all chapters for 2025 students

    • @SwatiChawlaofficial
      @SwatiChawlaofficial  4 หลายเดือนก่อน

      th-cam.com/play/PL5Raijva2y4Qtq23KCz6VRdPQ4NUtrmuI.html&si=UbmekRhDHRZVwdKe

    • @prateekkumarkori3508
      @prateekkumarkori3508 4 หลายเดือนก่อน +1

      @@SwatiChawlaofficial thanks mam

  • @prakharsinha3626
    @prakharsinha3626 2 ปีที่แล้ว +1

    Just started 😅

  • @osabve
    @osabve 2 หลายเดือนก่อน

    Mam i need pdf of this lecture

    • @SwatiChawlaofficial
      @SwatiChawlaofficial  2 หลายเดือนก่อน

      *Hey, now you can avail all these notes at the discounted rate….*
      *Class - X Information Technology*
      * Employability Skills (Notes) - X rzp.io/l/1mcA8UL
      * Employability Skills (Ques Ans) - X rzp.io/l/2hxw8tY6N
      * NCERT Solutions of CBSE Class 10 IT 402 rzp.io/l/fKUADxvbv
      * Unit - 1 Digital Documentation Advanced using LibreOffice rzp.io/l/GUhTNcTpH
      * Unit - 2 Electronic Spreadsheet Advanced (using LibreOffice) rzp.io/l/PpBEONKRN
      * Unit - 3 DBMS (based on LibreOffice Base) rzp.io/l/XJrYs2P
      * Unit - 4 Managing Health and Safety rzp.io/l/TQWvwOa
      *Class 11 Computer Science (083)*
      * Python rzp.io/l/cKflR95C
      *Class 12 Computer Science (083)*
      * Computational Thinking & Programming - 2 rzp.io/l/wihJhPBO
      * Computer Networks rzp.io/l/OKWrgua
      * Database Management rzp.io/l/z0mu2uBVu
      * Assertion and Reasoning rzp.io/l/TgngGDjb
      *IMPORTANT : After successful payment, don't refresh or go back (Redirecting...... will be shown on screen) , just wait for a while, and then Click on Request Access button, then you will get access to notes on your G-Mail ID within 24 hours.*

  • @zulfikar-pr9nc
    @zulfikar-pr9nc 2 ปีที่แล้ว +1

    revision op

  • @Hunny-tl4zj
    @Hunny-tl4zj 7 หลายเดือนก่อน

    21:52 why was the answer 20?

  • @yes-ct2in
    @yes-ct2in 2 ปีที่แล้ว

    mam apki avaj bhot kam aa rhi hai agar app mic thoda pass m krke bole toa jyada acha rhega

  • @asif9857
    @asif9857 3 ปีที่แล้ว

    Ma'am plz provide notes

    • @SwatiChawlaofficial
      @SwatiChawlaofficial  3 ปีที่แล้ว

      Sure..You can enjoy special perks by joining the membership.
      Have a look at this.
      th-cam.com/channels/2vH9rqGh-fJELF8acGfBdw.htmljoin

  • @AbhisheKhairnar
    @AbhisheKhairnar 2 ปีที่แล้ว

    all the concepts are c;ear only reply my previous comment

  • @PrithamXIIF-uk8lx
    @PrithamXIIF-uk8lx ปีที่แล้ว

    didi so condusingggg

  • @FUNFACTST
    @FUNFACTST 3 ปีที่แล้ว

    mam yu should give pdf also

    • @SwatiChawlaofficial
      @SwatiChawlaofficial  3 ปีที่แล้ว

      Sure..You can enjoy special perks by joining the membership.
      Have a look at this.
      th-cam.com/channels/2vH9rqGh-fJELF8acGfBdw.htmljoin

  • @dae1925
    @dae1925 3 ปีที่แล้ว

    17:22

  • @ronaksingh9040
    @ronaksingh9040 2 ปีที่แล้ว +2

    op

  • @sudhirchandra1085
    @sudhirchandra1085 ปีที่แล้ว +1

    Thank you so much ma'am 😃