python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
My class isn't recognizing its attributes
The class isn't recognizing its attribute wins, and although I am not actually trying to directly print that value, it gives the same error as what I do want to happen while looking neater.
class deck...

Gray9
Votes: 0
Answers: 2
Find parent name of a json attribute - unknown structure - Python
There is a JSON file with unknown structure.
I need to find an attribute of a known name in this file and, if it exists, return the name of its parent node, or nodes (if there are multiple instances o...
Piotr L
Votes: 0
Answers: 1
Getting "'tuple' object has no attribute 'perimetre'?"
How to resolve the problem?
I try:
class plot():
def __init__(self,length,width):
self.length = length
self.width = width
def area(self):
print("area is ",self.lengt...
golu master
Votes: 0
Answers: 1