New course! Every coder should learn Generative AI!
Try a free lesson0
Why it returns an error[Solved]
2 Answers
+ 3
PRO
'money' is defined inside the function 'ay' so you cannot access it inside another function.
https://code.sololearn.com/WDkPYP5pkSk8/?ref=app
+ 1
A͢J It worked thanks