Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Solution(node):
- def display(self,head):
- current = head
- while current:
- print(current.data, end=" ")
- current = current.next
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement