Question: Python Coding Help- Please provide properly formatted code for 1c and 1d and screenshot of output for each. Thanks 1c) evalsum: This function should accept
Python Coding Help-
Please provide properly formatted code for 1c and 1d and screenshot of output for each. Thanks

1c) evalsum: This function should accept a string encoding decimal numbers, separated by whitespace and by + and - operators, and should return None if invalid or the sum as a python float. For example, eyalsum" 1+2.2-3.141592") should return -0.5840800.. . An input string-encoded number can be integral or not, can have preceeding or trailing zeros or not, and can begin with a period, but cannot end with a period. Hint: try usingre.match to match a prefix of the string in a loop, removing that prefix at each iteration. 1d) cuberoot: This function should use fixpoint iteration to return the cube root of a given n (positive or negative floating point number). Your implementation should ideally return a precise approxmation, but must be correct to at least eight significant digits and must use fixpoint iteration
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
