Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from class_linked import*
- from main import*
- # ------------------------------------------
- # NAMA : Muhammad Kharirrushofa
- # NIM : A11.2019.11823
- # ------------------------------------------
- class node(object):
- """docstring for Node"""
- def __init__(self, data=None, next_node=None):
- self.data = data
- self.next_node=next_node
- def rls(self,next_rls):
- self.next_node=next_rls
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement