logo-MindMajix
PostPythonPython
L
Lakshmi sowjanya

Posted on 23rd June 2024|13 views

0
votes

Python Referenced Before Assignment

What does referenced before assignment mean in Python?

1 answers
Answers
P
Satish santu

Posted on 23rd June 2024| views

Within Python, variables that simply referenced within a function are inherently global. That is because if you perform an assignment over a variable within scope, that variable shifts to local to that scope also shadow any likewise named variable within the outer scope.

Write your answer

STILL GOT QUERIES?

Get a Live FREE Demo

  • Explore the trending and niche courses and learning maps
  • Learn about tuition fee, payment plans, and scholarships
  • Get access to webinars and self-paced learning videos
Name
Course *
Email *
Phone Number