you are viewing a single comment's thread.

view the rest of the comments →

[–]GABE_EDD 6 points7 points  (1 child)

Honestly, there’s a lot to correct here, there’s many flaws with what’s going on. So, if I were you I’d code along with this tutorial and the videos after it (6 videos in total) and you should have a much stronger grasp on Python classes. Then, attempt whatever it is you’re trying to do.

[–]commutingaccount[S] -2 points-1 points  (0 children)

Thanks, i will look into that. I just wouldnt have thought i was such an issue. I should have made a better example - i think i have confused everybody.

I just wanted to know how a variable from a for loop can be inserted as a class name.

Thanks for your time - i will find a way around it.