Stats: 3,165,793 members, 7,862,630 topics. Date: Sunday, 16 June 2024 at 09:18 PM |
Nairaland Forum / Codebrain62816's Profile / Codebrain62816's Posts
(1) (of 1 pages)
![]() |
May God save nigeria |
![]() |
def hammingDistance(st1,st2): n = len(st1) counter = 0 for i in range(n): if st1[i] != st2[i]: counter += 1 print counter hammingDistance("helloworld","worldhello" ![]()
|
(1) (of 1 pages)
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 3 |