<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div>Hi,</div><div><br></div><div>I'm trying to make a function that receives text (a string) as an argument and returns the same text (as string), but with 1 added to each word that is a number.</div><div><br></div><div>I need help getting started.</div><div><br></div><div>So far, I have:</div><div><br></div><div><div>def FindNumbers(a_string):</div><div><br></div><div>&nbsp;&nbsp; &nbsp;for index, char in enumerate(a_string):</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;if char.isdigit():</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>a_string[index] =&nbsp;</div><div><br></div><div><br></div><div>def Test():</div><div><br></div><div>&nbsp;&nbsp; &nbsp;sometext = "I got 432 when I counted, but Jim got 433 which is a lot foronly 6 cats, or were there 12 cats?"</div><div>&nbsp;&nbsp;
 &nbsp;</div><div>&nbsp;&nbsp; &nbsp;FindNumbers(sometext)</div><div><br></div><div>Test()</div><div><br></div><div><br></div></div></div></body></html>