o
    H§`n  ã                   @   s   G d d„ dƒZ dd„ ZdS )c                   @   s   e Zd Zddd„Zdd„ ZdS )ÚNodeNc                 C   s   || _ || _d S ©N)ÚdataÚchildren)Úselfr   r   © r   úyC:\Users\DELL\Desktop\soubhikg1894-stratfit-d75d91182fa3\soubhikg1894-stratfit-d75d91182fa3\services\Program\utilities.pyÚ__init__   s   
zNode.__init__c                 C   s
   t | jƒS r   )Ústrr   )r   r   r   r   Ú__str__   s   
zNode.__str__)NN)Ú__name__Ú
__module__Ú__qualname__r   r
   r   r   r   r   r      s    
r   c                 C   s:   g }t |ƒD ]\}}| jd |d kr| t|ƒ¡ q|S )NÚidÚparent)Ú	enumerater   Úappendr   )ÚnodeZ
allthedataÚchildsÚiÚdr   r   r   Úfind_children
   s   €r   N)r   r   r   r   r   r   Ú<module>   s    	