diff --git a/README.md b/README.md index 6192cf8..c324a48 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,2 @@ # Data-Structures -This repository contains implementation of data structures in java. +This repository contains implementation of data structures in java and python. diff --git a/hammer.py b/hammer.py new file mode 100644 index 0000000..ecf5b41 --- /dev/null +++ b/hammer.py @@ -0,0 +1,11 @@ +class hammer(object): + def dna(self,str1,str2): + self.str1=str1 + self.str2=str2 + j=0 + c=0 + for i in str1: + if i!=self.str2[j]: + c+=1 + j+=1 + print c