write in python
write a function named problem3 that accepts a file name as the
argument. Read the entire text from the given file. find and return
the sum of all the digits. you cannot use collection module to
solve this problem. call the function with the test case and
display the return result. test case: if the text in the given text
file is "abc123cda345cc3456 your function should return 36
write in python write a function named problem3 that accepts a file name as the argument. Read the entire text from the
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
write in python write a function named problem3 that accepts a file name as the argument. Read the entire text from the
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!