Physics, asked by ashmidev007, 1 month ago

What is the difference between local variable and global variable in python?

hey dude
thanks a lot​

Answers

Answered by xxbrainlyboyxx10
1

Answer:

see this attachment hope it's helpful to you

Attachments:
Answered by Anonymous
8

Answer:

✌✨❣ I HOPE HELP YOU ❣✨✌

Explanation:

• What is the difference between global and local variables in Python? A global variable is a variable that is accessible globally. A local variable is one that is only accessible to the current scope, such as temporary variables used in a single function definition.

✌✨❣ KEEP SMILING ❣✨✌

Attachments:
Similar questions