What is the difference between local variable and global variable in python?
hey dude
thanks a lot
Answers
Answered by
1
Answer:
see this attachment hope it's helpful to you
Attachments:
![](https://hi-static.z-dn.net/files/d1f/f731e8f4e1386fa3f0215f8226aa9ef5.jpg)
Answered by
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:
![](https://hi-static.z-dn.net/files/d94/cee97ba9b554f4747b785233ccd8ef52.jpg)
Similar questions