I am not able to submit this task. test case seems like wrong.
please give more details, what do you see, what do you expect instead?
These are the two test cases i have for this problem.
- The code should not contain a global
myVar
variable. - You should add a local
myVar
variable.
Second test case throws an error ’ You should add a local myVar
variable. But i have declared that variable in that function
Sorry, ignore the problem. After commenting one line, i am able to submit. Thank you so much for the reply