Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to think about function can be misleading #20

Closed
GoogleCodeExporter opened this issue Mar 13, 2015 · 1 comment
Closed

How to think about function can be misleading #20

GoogleCodeExporter opened this issue Mar 13, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. look at lesson "how to think about function"
2. use function that has a local variable with global variable of same name
3.

What is the expected output? What do you see instead?
Of course the value given to the local variable does not affect the global one. 
Yet, the explanation may lead one to think it does. 

What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by andre.ro...@gmail.com on 15 Feb 2014 at 9:04

@GoogleCodeExporter
Copy link
Author

done.

Original comment by andre.ro...@gmail.com on 13 May 2014 at 12:57

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant