Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create the function removeDigits which accepts a List (L) of String values. They function returns a new list with containing only the Strings from L

Create the function removeDigits which accepts a List (L) of String values. They function returns a new list with containing only the Strings from L thatu 4 cannot be interpreted as digits. A = ["Java", "Python","2", "C","4","C++","5","C#","6"] print (removeDigits (A)) ['Java', 'Python', 'C', 'C++', 'C#'] [2] : #Create the function findSmallest which accepts two Lists (L1 and 12). They -function returns the smallest value of both L1 and L2 B = [11,16,17,19,8] C = [3,6,10,5] D = [0,12,34,56,19,31,73] print(findSmallest (B,C)) print(findSmallest(C,D)) 3 0 [3] : #Create the function sumDigits which accepts two Strings (S1 and 52). The function returns the

shell (in the format shown) information about the String. G = '0456dert987ouhyr1265DWRT' summarizeString(G) 2 _Analysis of String- LETTERS ANALYSIS Letters In String: ['d', 'd', 'e', 'r', 't', 'o', 'u', 'h', 'y', 'r', 'D', 'W', 'R', 'T'] Sorted Letters: ['D', 'R', 'T', 'W', 'd', 'd', 'e', 'h', 'o', 'r', 'r', 't', 'u', 'y'] Uppercase Letters: ['D', 'W', 'R', 'T'] Lowercase Letters: ['d', 'd', 'e', 'r', 't', 'o', 'u', 'h', 'y', 'r'] Numbers In String: ['4', '5', '6', '9', '8', '7', '1', '2', '6', '5'] DIGITS ANALYSIS Sorted Numbers: ['1', '2', '4', '5', '5', '6', '6', '7', '8', '9'] Sum of Numbers: 53 Even Numbers: ['4', '6', '8', '2', '6'] Odd Numbers: ['5', '9', '7', '1', '5'] _Analyzed By Me_. >

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Entrepreneurship

Authors: Andrew Zacharakis, William D Bygrave

5th Edition

9781119563099

Students also viewed these Programming questions