Hi guys, can you help me here?
I've learned a little about classes in python and once I did, I realized I had made a big mistake in one of my projects.
I could have made it much simpler with what I just learned.
So I happily replaced all the complex dictionaries, ID thingies, and other confusing stuff with just a simple class.
But then there was errors. SO. MANY. ERRORS. I fixed lots, until this one showed up:
AttributeError: 'str' object has no attribute 'moves'
As you know, I had just learned classes so I didn't know how to deal with this.
print('As it seems, though, that's why I ask for your help.')
So can you help me? Ill give you a cookie if u do
@wantT0befriends Hi Matthew,
You just named the class and functions with the same name which really makes Python mad...
So for now, Just change the function name to some other random name!
Any more errors? Please feel free to Comment me below!
With my best wishes
Hope this helps
Please mark my answer if this helps