- 5

Run the program and give output

http://py4e-data.dr-chuck.net/regex_sum_485538.txt Download this text file and make sure to save the file into the same folder as you will be writing your Python program. Program code:: import re k=open('regex_sum_485538.txt') x=re.findall('[0-9]+',k) sum=0 for y in x: sum+=y print(sum)

19th May 2020, 3:57 AM
Jaypat
Jaypat - avatar
1 Antwoord
+ 1
Jaypat Is this your problem?
19th May 2020, 5:52 AM
A͢J
A͢J - avatar