for example:
i want to know can i use trick argument in my code Or i just can access to cat class and add_trick function
and no access to arguments inside of class/function?
class cat: def __init__(self,name): self.name = name self.trick = [] def add_trick(self,trick): self.trick.append(trick)now i imported cat class in my code
i want to know can i use trick argument in my code Or i just can access to cat class and add_trick function
and no access to arguments inside of class/function?