+ 3
What is the opposite of the global keyword in Python
The keyboard should make changing attribute in the local without changing the global variable possible https://code.sololearn.com/cJ26ZxDpV65g/?ref=app
3 Answers
+ 2
The opposite is local:
https://pythonprogramming.net/global-local-variables/
I think local is default, so there is no keyword for it
0
If you search for private keyword, you will get disappointed. There's a concept in python called "we are all responsible adults here" for this reason, there is no need/ explicit way for hiding a variable.
0
local