EXPLAIN LOCAL AND GLOBAL VARIABLES IN PYTHON.

Home Forums Python Course Forum Python Basics EXPLAIN LOCAL AND GLOBAL VARIABLES IN PYTHON.

Viewing 0 reply threads
  • Author
    Posts
    • H2k Infosys
      Keymaster
      (124.123.164.108)

      Local variables are inside a function and the global variables are declared outside a function or in a global space.

      #18465

Viewing 0 reply threads
  • You must be logged in to reply to this topic.