What are two basic scopes of variables in Python?
Answers
Answered by
0
HEYA MATE YOUR ANSWER IS
basic scopes of python are
+
-
HOPE THIS HELPS ❤️
Answered by
0
Scope of variable in python:
• A variable formed inside a function is accessible inside that function
• The local variable can be retrieved from a function within the function
• A variable formed outside of a function is global and can be used by anybody
• The function will design the local x, and then the code will design the global x
Hope it helped..
Similar questions
Social Sciences,
5 months ago
Math,
5 months ago
Math,
5 months ago
Computer Science,
11 months ago
Computer Science,
11 months ago
English,
1 year ago