
class Node:
    def__name__(self,data)
        self.data=value
        self.next=none
class slc:
    def__init__(self):
        self.head=nocne
        self.tail=none
    def insertAtbeg(self,data):
        newnode=node(data)
        if self.head==none:
            
        else:
            pass