Python3 Adding number within string

kootinlok

 For example, if the input was

The sum of 246 and 1025 is

the output should be the single line

1271.00

If the input is

Fried oysters $12.75, salad $3.35, coffee $1.85, tax 1.36

the output should be

19.31

And if the input is

dyuadgh12345agdfkl;j12

the output should be

12357.00

    • 8 years ago
    • 5
    Answer(1)

    Purchase the answer to view it

    NOT RATED
    • addingNumbersInStrings.py