+ 1
How can I update the bank balance? This is an excersice of Head First Learn to Code
https://code.sololearn.com/cEB6904IZ0xm/?ref=app balance is a global variable and a parameter thank you
2 odpowiedzi
+ 1
You gotta access the global balance like you did with cameraon and rename the parameter balance to avoid ambiguity
https://code.sololearn.com/cVkc4rl0CBuw/?ref=app
+ 1
thanks noname and Jay! !