Ask coding questions

← Back to all posts
How do I do this -python
Kavin1983 (1)

so I am making a class and i want to append a list in the clubs set through a function. It says that clubs is not defined in the function and I get an error. I'm not sure why this happened but i do need help.

Comments
hotnewtop
RYANTADIPARTHI (6008)

there seem to be no errors.

robowolf (446)

No errors are popping up for me. If it doesn't work, in each function put global clubs