Re: Python scope question

2019-03-12 Thread Arup Rakshit
Hello, Thanks for this beautiful link. This is amazing. Thanks, Arup Rakshit a...@zeit.io > On 13-Mar-2019, at 12:11 AM, DL Neil wrote: > > Arup, > > > On 13/03/19 3:38 AM, Arup Rakshit wrote: >> I have questions how nonlocal and global affecting the variable assignment. >> Also how ea

Re: Python scope question

2019-03-12 Thread DL Neil
Arup, On 13/03/19 3:38 AM, Arup Rakshit wrote: I have questions how nonlocal and global affecting the variable assignment. Also how each print statement looking up the values for the spam variable. This scope thing in python is very confusing too me still. Can anyone help me to understand th

Re: Python scope question

2019-03-12 Thread Grant Edwards
On 2019-03-12, Arup Rakshit wrote: > I have questions how nonlocal and global affecting the variable > assignment. Also how each print statement looking up the values for > the spam variable. This scope thing in python is very confusing too > me still. Can anyone help me to understand this code w

Python scope question

2019-03-12 Thread Arup Rakshit
I have questions how nonlocal and global affecting the variable assignment. Also how each print statement looking up the values for the spam variable. This scope thing in python is very confusing too me still. Can anyone help me to understand this code w.r.t to scope in Python? def scope_test()