Scopes and closure in python

  Рет қаралды 24,606

Chai aur Code

Chai aur Code

Күн бұрын

Visit chaicode.com for all related materials, community help, source code etc.
Welcome to chai aur code, a coding/programming dedicated channel in Hindi language. Now you can learn best of programming concepts with industry standard practical guide in Hindi language.
All source code is available at my Github account:
github.com/hit...
Our Open-Source Project is here: freeapi.app
Join me at whatsapp: hitesh.ai/what...
for community discord: hitesh.ai/discord
Instagram pe yaha paaye jaate h:
/ hiteshchoudharyofficial
HTML video series: • HTML and VSCode - gett...
Complete javascript series: • Javascript for beginne...
Complete Reactjs series: • React JS roadmap | cha...
Javascript and react interview series: • 1 call se shuru hui pl...
Backend development with Javascript: • Javascript Backend Roa...
Python Series: • Python series launch |...

Пікірлер: 426
@sidharthkashyap6241
@sidharthkashyap6241 11 ай бұрын
Very Informative video sir...Thanks a Lot. Also, a humble request to all my fellow learners, it is evident that only ten percent viewers are liking or commenting on this series....guys this man is giving enormous value to us....trust me , i have taken paid as well as international courses but the way he is teaching and elucidating such complex topics in Easy manner , it is rare. Th e least we can do is to motivate him through liking, subscribing, and sharing his content. Thank you.
@chaiaurcode
@chaiaurcode 11 ай бұрын
So nice of you
@sidharthkashyap6241
@sidharthkashyap6241 11 ай бұрын
@@chaiaurcode keep Going sir...we are with you.
@viditvats5733
@viditvats5733 11 ай бұрын
Completely agree with you on this
@suryanshusingh8863
@suryanshusingh8863 7 ай бұрын
👍
@Lucifervishu
@Lucifervishu 10 ай бұрын
sir doing awesome job to teach us
@AmitGusai-u7i
@AmitGusai-u7i Жыл бұрын
Out of the series in python, yours is the best one and in-depth
@skasr4124
@skasr4124 10 ай бұрын
Thank you very much sir
@justtt.prerna
@justtt.prerna 11 ай бұрын
Idk but why this course is too underrated....In depth explanation, too easy to understand and implement , concepts are cleared for beginners too.
@anujpoudel
@anujpoudel 11 ай бұрын
even though i already know these concepts im still watching it and appreciating this playlist. It was unfortunate for me that i didn't have these videos when i started learning python and had to learn hardway and took so much time which shouldn't be the case. Thank you sir 😄
@suryanshusingh8863
@suryanshusingh8863 7 ай бұрын
Same
@Coder-rohits
@Coder-rohits 6 ай бұрын
your style and passion to take everything in depth is one of the thing which makes me crazy for programming
@shivkojha
@shivkojha 11 ай бұрын
I am learning these concepts from docs and got overwhelmed, suddenly reminded about you and came here, this is so clear now, going to learn from next video of Object oriented programming.
@yaswanthreddy2623
@yaswanthreddy2623 6 ай бұрын
Initially it was very complex to understand the working of closures. But, after watching the 2nd time it was clear. Thank you hitesh sir.
@YuktiGarg-gi8zh
@YuktiGarg-gi8zh 8 ай бұрын
A great series from basic to advanced as he gives scope to 30 minutes that is finished by all the tutors in theory he is providing the implementation. A great Teacher, Thank you for this series.
@TheRawFootages
@TheRawFootages 2 ай бұрын
num = int(input("Enter Number: ")) def power(x): def number(num): return num ** x return number sqr = power(2) cube = power(3) print(sqr(num)) print(cube(num)) Input: 3 Output: 9 and 27
@mohammadaftabansari6882
@mohammadaftabansari6882 Күн бұрын
Thanks for such incredible courses for absolutely free. They sure are a boon to the under privileged students who cannot afford to buy courses.
@RabiyaShaikh2511
@RabiyaShaikh2511 4 ай бұрын
Because of you Hitesh sir, I have develop my interest in coding. You are rare.
@OMRAJSINGH-n4f
@OMRAJSINGH-n4f 11 ай бұрын
Thank you sir for bringing us a top class python series , its way better than the Nptel python series which i left just after 2-3 lecture because it was so boring and after watching that i thought i will never be able to understand python, but after watching your lecture i am able to understand the things better and able to gain some confidence too.
@shaikusman536
@shaikusman536 9 ай бұрын
Finally Scopes & Closure simplified......Thanks Hitesh sir ji....Respect from Bangalore...
@AshharKhan-yy7zs
@AshharKhan-yy7zs Ай бұрын
Sir,You bring revolution by teaching such complex and tough topics in a easy and simple language.
@timeless_tales2000
@timeless_tales2000 9 ай бұрын
best python series on youtube so far
@MDFAIZANSARI
@MDFAIZANSARI 11 ай бұрын
Closure explaination is very smooth.
@_little_master1874
@_little_master1874 10 ай бұрын
chal jhuthe
@MDFAIZANSARI
@MDFAIZANSARI 10 ай бұрын
@@_little_master1874 Closure ache se padhle, decorators smjhne me asani hogi... 😅
@pranaypaul6361
@pranaypaul6361 11 ай бұрын
awesome explanation of closure.....not to think much just remember this example n apply the basic to any other closure case....things will fall in place automatically....
@nikhilgamercoc3166
@nikhilgamercoc3166 Жыл бұрын
Sir, let's start with Django after completing the Python series. ❤
@yashdewani5377
@yashdewani5377 2 ай бұрын
sir i alredy learnd python from some one else but because of your teaching style i watched this series even i alredy know python please make videos on data science with python please sir
@art3dhaven
@art3dhaven 4 ай бұрын
Sir did great job to clear our fundamentals in starting now it is helping us
@mohitashliya8750
@mohitashliya8750 9 ай бұрын
Hitest ji mera Javascript ka closures ka doubt bhi clear ho gaya, Hm hm magic, God bless you really helpful😆😆
@foodiepanda6281
@foodiepanda6281 19 күн бұрын
Thank you dear sir for the amazing lectures
@akshaykudale4762
@akshaykudale4762 7 ай бұрын
Great Sir. Thanks very much. Every student in engineering college should watch this.
@swarnabhamajumder9561
@swarnabhamajumder9561 11 ай бұрын
Learning python day 11 - present sir 00:02 Understanding scopes and namespaces in Python. 02:17 Scopes and closure in Python 06:08 Functions create separate memory spaces 07:52 Understanding scope and closure in Python 12:09 Understanding function parameter and scoping in Python 14:35 Global scope and referencing in Python 19:39 Understanding scopes and closure in Python 21:51 Understanding scopes and closure in Python 25:50 Understanding function definition and reference in Python 27:46 Scopes and closure in Python
@AkashPandya9
@AkashPandya9 5 ай бұрын
It's very first time I came these far in any tutorial series! Python rocks, so does our mentor! 🍵✨
@CodeWithKushwaha
@CodeWithKushwaha 4 ай бұрын
thanks, Hitesh sir, now I understand the concept of Closures...
@OMKARANAVKAR
@OMKARANAVKAR 11 ай бұрын
Scope and closure concept explained well. Thanks for the video.
@AzadKumar-zi5lm
@AzadKumar-zi5lm 7 ай бұрын
Video 17 completed ✅
@iamprogrammer5054
@iamprogrammer5054 5 ай бұрын
This person is a gem in teaching programming 🎉
@abhishekkumbhar7079
@abhishekkumbhar7079 11 ай бұрын
awesome video on closure. I can able to relate with closure in JS from chai aur javascript series. Amazing teaching SirJi !!!💯💯💯💥💥💥💥💥💥
@anandshinde0358
@anandshinde0358 10 ай бұрын
Thank you❤❤❤
@iamprogrammer5054
@iamprogrammer5054 5 ай бұрын
In every video, I learn something new. Hats off Hitesh sir. Now you are my favourite teacher ❤
@chaiaurcode
@chaiaurcode 5 ай бұрын
Glad to hear that
@alimohdbilalraza
@alimohdbilalraza 7 ай бұрын
sir, Your lectures are awesome. please dont stop posting quality content for us on YT
@hemantkumardas3333
@hemantkumardas3333 11 ай бұрын
In your last video of this series, you taught Recursion very nicely...
@krishnapalsingh2777
@krishnapalsingh2777 11 ай бұрын
Mza A Gya😎😎
@deepanshuchaurasia4839
@deepanshuchaurasia4839 Жыл бұрын
Bhai agar hitesh sir itna Accha content bna rhe h to comment or like karne main jata kya h sab kardo bhaiyo sir ka target
@aditya536
@aditya536 7 ай бұрын
I like this series
@Dev-Phantom
@Dev-Phantom Жыл бұрын
One of the Best Series ever. Just Like your JS series
@anandstephan6020
@anandstephan6020 11 ай бұрын
very nice video now i know the concept of clousure in both js and python
@SIR_Studios786
@SIR_Studios786 11 ай бұрын
Getting confidence using python now, because python is not self explainatory, like, scope, like blocks ( as it is not using public, private, words, ie.e)
@afzalhamdulay
@afzalhamdulay 11 ай бұрын
28:50 my mind was blown by the code. but when i apused the video and focused on the code for 2 minutes... i was like: "daaamnnnnn"
@AzeemKhan-sr4my
@AzeemKhan-sr4my 10 ай бұрын
one of the best teacher 👍👍
@himanshkataria6508
@himanshkataria6508 8 ай бұрын
Thankyou so much sir, itna ache se samjhane k liye 😊
@akshayanand1748
@akshayanand1748 11 ай бұрын
amazingly amazing course sir ji🤩🤩
@aksh1453
@aksh1453 Жыл бұрын
It's fun to learn when you give reference of javascript
@meenakshimeeen
@meenakshimeeen 4 ай бұрын
you are doing great sir.. thank you so much❤
@backspace11
@backspace11 8 ай бұрын
Sir ne to bhot easy kar diya python ko
@shaali9381
@shaali9381 24 күн бұрын
good sir, You are my teacher
@sky.digitalmedia2732
@sky.digitalmedia2732 10 ай бұрын
Thank you Sir for these amazing playlists💝💝
@joondas8920
@joondas8920 2 ай бұрын
16:16 I guess it’s planned sir😂. Even I can clearly see the function is not called then it’s impossible that you will miss it. So obviously you set that thing up so that the logic gets rooted in our brains . Brilliant teaching ❤
@AmanKumar-ih4nq
@AmanKumar-ih4nq Ай бұрын
i was thinking the same. without calling fuction how will value change. :)
@mohitgaur4253
@mohitgaur4253 Жыл бұрын
Your videos push me get a chai and code❤❤
@swastik6656
@swastik6656 8 ай бұрын
am watching this video after 3 months of upload date..feeling bad to see the comment target still has not reached yet for the quality of content he is been providing...
@shaktidube7153
@shaktidube7153 Жыл бұрын
Next js ki video kab AA Rahi hai , Announcement kare too 1 week ho Gaya sir , bohat respect hai aapke liye , hc sir op
@ArjunSharma-yk5xf
@ArjunSharma-yk5xf 7 ай бұрын
Very insightful playlist. Thank you Sir
@ukashaanwerali6360
@ukashaanwerali6360 11 ай бұрын
LOVE THE WAY YOU ARE TEACHING ❤
@MudasirAbbas007
@MudasirAbbas007 Жыл бұрын
Thank you Sir for these amazing playlists
@Zara-pn9im
@Zara-pn9im 4 ай бұрын
what an explanation hitesh sir🥰🥰🥰🥰
@focus8070
@focus8070 Жыл бұрын
it's great comparison of JavaScript every language have same concept only the syntax different , even we are using advance concept of other language in JavaScript but we don't aware of this and theoretically we are not able to describe most of time
@SAGARKUMAR-el9ju
@SAGARKUMAR-el9ju 11 ай бұрын
name = "test1" def test(): print(name) name = "test2" print(name) I expected the output to be: test1 test2 But I got this error: UnboundLocalError: local variable 'name' referenced before assignment Please explain this. (If Python is an interpreted language, then the error shouldn't occur.)
@SAGARKUMAR-el9ju
@SAGARKUMAR-el9ju 11 ай бұрын
But I didn't want to change value of name globally and not even want to change variable's name (name). And if python is interpreted language then why this error is occurring?
@nawazcode13
@nawazcode13 11 ай бұрын
Thank you for bringing content consistently for us.
@jesussheepakash9289
@jesussheepakash9289 4 ай бұрын
thank you sir, abhi samajh me aaya
@Devika_1509
@Devika_1509 11 ай бұрын
Well explained!! Thankss for telling
@sheikhabdullah8298
@sheikhabdullah8298 11 ай бұрын
Target trailer. Thank You Sir for tutorial
@rushikeshmodi4870
@rushikeshmodi4870 9 ай бұрын
Thank you sir for such informative session
@ayushmishra5861
@ayushmishra5861 Жыл бұрын
guys like target krdo yaar, I dont want it to stop, projects ke bina it would not be so fun
@ayushmishra5861
@ayushmishra5861 Жыл бұрын
I mean to say, like the video and comment something valuable, I do not seek likes on my comment.
@suryanshusingh8863
@suryanshusingh8863 7 ай бұрын
Ok
@krishnamania1
@krishnamania1 Жыл бұрын
thanks sir , ek series cs fundamentals jaise os dbms ki bhi sir
@raishasnain9805
@raishasnain9805 11 ай бұрын
Ok sir
@MdJoy-gf6kv
@MdJoy-gf6kv Жыл бұрын
Thank you sir for this type of master class content
@Darkgamer_019
@Darkgamer_019 Жыл бұрын
Sir hai toh best series❤❤🎉🎉
@muhammadadilnaeem
@muhammadadilnaeem 4 ай бұрын
Awesome Explanation.
@Abhay_Pandey_1
@Abhay_Pandey_1 11 ай бұрын
Excellent explanation 👍
@skasr4124
@skasr4124 10 ай бұрын
Sir ji thanks for your support
@rocsanket12
@rocsanket12 9 ай бұрын
Best python series. 😄
@RohitChhabirajYadav
@RohitChhabirajYadav 10 ай бұрын
Best Course on Python
@sheroichi7728
@sheroichi7728 5 ай бұрын
outstanding , brilliant , spectacular
@sumitram4132
@sumitram4132 8 ай бұрын
Great lecture ❤
@ritesh-dubey
@ritesh-dubey 11 ай бұрын
Very well explained❤
@Rafian1924
@Rafian1924 10 ай бұрын
Great series❤
@anuraggupta1008
@anuraggupta1008 Жыл бұрын
Now i am getting confidence in python
@AnkurDwivedi-wx9kh
@AnkurDwivedi-wx9kh 9 ай бұрын
best content online
@AngelWhite007
@AngelWhite007 10 ай бұрын
Best instructor
@kashishrocks
@kashishrocks 11 ай бұрын
Thanks a lot sir.
@snehil3209
@snehil3209 Жыл бұрын
Bhai logo sabh 4 5 comments krdo
@gulshansharma-qt8is
@gulshansharma-qt8is 11 ай бұрын
4 5 comment
@not_amanullah
@not_amanullah 11 ай бұрын
Me do krta hoo😢
@suryanshusingh8863
@suryanshusingh8863 7 ай бұрын
Ok
@muheet_-m1
@muheet_-m1 7 ай бұрын
😅👍🏻
@skasr4124
@skasr4124 10 ай бұрын
Your channel is amazing
@sheroichi7728
@sheroichi7728 5 ай бұрын
excellent explanation
@maha33612
@maha33612 11 ай бұрын
thanks alot sir ffor this series
@NavdeepBhatt008
@NavdeepBhatt008 Жыл бұрын
Very Good Explained..😌
@ItachiUchiha-ix5sg
@ItachiUchiha-ix5sg 7 ай бұрын
nice concept and nicely taught
@samiran__roy
@samiran__roy 11 ай бұрын
Who are watching this video and following this series please leave a comment yaar. This much knowledge is not even available in paid course.
@adityapratapsingh7140
@adityapratapsingh7140 6 ай бұрын
target reachedddd
@Shishir.435
@Shishir.435 11 ай бұрын
Thank you so much sir for this palylist.
@rsvijaytiwari
@rsvijaytiwari 11 ай бұрын
Continue this series 👏
@Barunghorai-pn4vy
@Barunghorai-pn4vy 10 ай бұрын
Thanku sir,,It is very helpful
@AarjuKamboj-ks3vp
@AarjuKamboj-ks3vp 8 ай бұрын
Dhynwad guru jii 🤲🏼
@FarazAhmad-t6g
@FarazAhmad-t6g 6 ай бұрын
nonlocal will be used to access nearest scoped variable
@shahjankhan3835
@shahjankhan3835 Жыл бұрын
thanku sir for these amazing palylist , please sir One video coming for (how to explain project )
@Prashantsharma-yf7nq
@Prashantsharma-yf7nq Жыл бұрын
Tqsm sir for amazing lectures.
@JusBhan-uk2se
@JusBhan-uk2se 11 ай бұрын
I have a question related to scope after going through class and object a = 100 def add(x,y) print(x+y) class MyClass: def mymethod(self): print(a) add(1,6) Can I access the global variable a and function add inside a instance method(or any where in class body) . If yes can you please explain this.
@varadv3
@varadv3 11 ай бұрын
Yes, you can access this global variable directly in same script anywhere after they being initialised
@mitvavirvadiya8993
@mitvavirvadiya8993 7 ай бұрын
sir amazing explanation
Object Oriented Programming in python
1:08:29
Chai aur Code
Рет қаралды 121 М.
Solve 10 problems on functions in python
59:12
Chai aur Code
Рет қаралды 47 М.
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 42 МЛН
Build a File Organizer in Node.js - Clean Up Your Desktop!
24:12
LearnAIwithBibhu
Рет қаралды 100
What are decorators in python
39:21
Chai aur Code
Рет қаралды 38 М.
What is an API in Hindi
8:38
Chai aur Code
Рет қаралды 300 М.
Solve 10 loops problem in python
49:39
Chai aur Code
Рет қаралды 52 М.
Handling API in python
27:24
Chai aur Code
Рет қаралды 48 М.
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН