On Tue, Mar 6, 2012 at 3:58 PM, Joel Goldstick wrote:
> On Tue, Mar 6, 2012 at 3:49 PM, Joel Goldstick
> wrote:
>> On Tue, Mar 6, 2012 at 3:07 PM, kumar s wrote:
>>> Hi :
>>>
>>> I have some strings with both alpha-numeric strings. I want to add all the
>>> numbers in that string and leave cha
On Tue, Mar 6, 2012 at 3:49 PM, Joel Goldstick wrote:
> On Tue, Mar 6, 2012 at 3:07 PM, kumar s wrote:
>> Hi :
>>
>> I have some strings with both alpha-numeric strings. I want to add all the
>> numbers in that string and leave characters and special characters.
>> 1A0G19
>>
>> 5G0C25^C52
>>
>>
On Tue, Mar 6, 2012 at 3:07 PM, kumar s wrote:
> Hi :
>
> I have some strings with both alpha-numeric strings. I want to add all the
> numbers in that string and leave characters and special characters.
> 1A0G19
>
> 5G0C25^C52
>
> 0G2T3T91
> 44^C70
>
> How can I count only the numbers in the abov
> -Original Message-
> From: tutor-bounces+ramit.prasad=jpmorgan@python.org [mailto:tutor-
> bounces+ramit.prasad=jpmorgan@python.org] On Behalf Of kumar s
> Sent: Tuesday, March 06, 2012 2:08 PM
> To: tutor@python.org
> Subject: [Tutor] count numbers only in the string
>
> Hi :
>