---
title: "Discussion on \"Find The Needles: Python Version\" | Hashnode"
description: "Discussion on \"Find The Needles: Python Version\". Find The Needles: Python Version\nI took a stab at explaining a search algorithm written in python with some suggested improvements.\ndef findNeedles(haystack, needlesArr):\n if len(needlesArr) > 5:\n sys.stderr.write('Too many words!')\n else:\n countArra..."
url: "https://hashnode.com/posts/find-the-needles-python-version/61fe0f9dfd8b083e5728bd99"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Find The Needles: Python Version](https://since1989.dev/find-the-needles-python-version?utm_source=hashnode&utm_medium=feed)

Find The Needles: Python Version I took a stab at explaining a search algorithm written in python with some suggested improvements. def findNeedles(haystack, needlesArr): if len(needlesArr) > 5: sys.stderr.write('Too many words!') else: countArra...

Feb 5, 2022 · 2 min read · since1989.dev  
Updated Feb 13, 2022  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#algorithms](https://hashnode.com/tag/algorithms)
-   [#technical-writing-1](https://hashnode.com/tag/technical-writing-1)

## Written by

[Nana Thompson](https://hashnode.com/@typicalNana)

@typicalNana

  
[View profile](https://hashnode.com/@typicalNana)

software dev

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
