class NBA

 avatar
user_7676782
python
2 years ago
302 B
1
Indexable
Never
class NBA:
    def __init__(self, name, nickName, team, position):
        self.name = name
        self.nickName = nickName
        self.team = team
        self.position = position

    def __str__(self):
        return str(self.name)+ str(self.nickName)+ str(self.team)+ str(self.position)