What is Scope in Python??

What is Scope in Python??

b001

1 год назад

44,581 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

𝒩𝒾𝒸𝓀𝓎𝟦𝟣𝟣
𝒩𝒾𝒸𝓀𝓎𝟦𝟣𝟣 - 24.09.2023 04:18

Lovely video!

Ответить
Dong Chen
Dong Chen - 21.09.2023 01:16

There is no compile time in python, it is called interpret.

Ответить
Study
Study - 14.09.2023 13:41

very good explanation... very helpful

Ответить
Alan Lado
Alan Lado - 29.08.2023 02:03

I like the way you explain things. Subscribe button smashed.

Ответить
Ehud
Ehud - 22.08.2023 03:49

Ty

Ответить
armpitpuncher
armpitpuncher - 05.08.2023 20:10

Would have been good if you covered how scopes relate to loop bodies and if/else blocks, because it's not intuitive in python. For example, in every language which I'm familiar with besides python, a variable declared inside an if block is scoped to that block, and not accessible outside it. This is not the case in python.

Ответить
Keith Flick
Keith Flick - 01.08.2023 19:04

dont use global guys.

Ответить
ML Assassin
ML Assassin - 31.07.2023 16:45

Thanks man what a smooth explanation

Ответить
Eric D
Eric D - 17.07.2023 03:37

I didn't participate in the poll, but from very recent experience I knew it would be an error as soon as I looked at it. A couple weeks ago I was working on a script where I wanted to redefine a global variable, but I didn't use global inside the function. What's even weirder is I tried doing it with 2 different variables, and only the second one gave an error. The first variable was redefined, and printed what I was expecting, but then I got the error when trying to print the second variable. This may be a bug in Python 3.10 that I need to further explore.

Ответить
frog person
frog person - 22.05.2023 19:45

these are VERY important things to learn, love the video and thanks for the clear + concise explanation!!

Ответить
曾忠凱
曾忠凱 - 18.05.2023 16:01

Man your video really helps. I couldn't understand the explanation on the official doc. Tyvm!

Ответить
vulc4n
vulc4n - 03.05.2023 12:47

Good video

Ответить
Osiris RD
Osiris RD - 21.04.2023 03:37

what is your theme vscode ?

Ответить
Xcc40
Xcc40 - 18.04.2023 22:23

What is the name of the theme?

Ответить
Susan Amber Bruce
Susan Amber Bruce - 04.04.2023 21:47

Probably one of the most important videos to watch if someone is new to python

Ответить
Charles Russell
Charles Russell - 01.04.2023 02:16

great explanation

Ответить
Maker0824
Maker0824 - 28.03.2023 09:05

Too basic for me

Ответить
Nadia Ezzarhouni
Nadia Ezzarhouni - 24.03.2023 21:28

Bro you are insane, can you do a python course , by the way where do you get all this knowledge

Ответить
Philip Orlando
Philip Orlando - 24.03.2023 01:54

Wow this was awesome. Your channel is criminally underrated!

Ответить