Fraction reduction: Difference between revisions
Content deleted Content added
Line 1,949: | Line 1,949: | ||
=={{header|Python}}== |
=={{header|Python}}== |
||
{{trans|lang}} |
|||
<lang python>def indexOf(haystack, needle): |
<lang python>def indexOf(haystack, needle): |
||
idx = 0 |
idx = 0 |