Computer Science, asked by vickygupta7580, 9 months ago

What are two basic scopes of variables in Python?

Answers

Answered by anamkhurshid29
0

HEYA MATE YOUR ANSWER IS

basic scopes of python are

+

-

HOPE THIS HELPS ❤️

Answered by laraibmukhtar55
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