Skip to content

Jayavi-gamage/DSA5

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

repo2

simple python programs

this is for beginners

basic python code

help the user to get the knowledge of github

as example : code of insertion of linked list in python

Node class

class Node:

# Function to initialize the node object
def __init__(self, data):
    self.data = data  # Assign data
    self.next = None  # Initialize next as null

Linked List class

class LinkedList:

# Function to initialize the Linked List object
def __init__(self):
    self.head = None

About

simple python programs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%