Question 2 Not complete Marked out of 1.50 Flag question Define a function named get_sum_alphabetics_and_digits (words_l
Posted: Thu May 26, 2022 9:40 am
Question 2 Not complete Marked out of 1.50 Flag question Define a function named get_sum_alphabetics_and_digits (words_list) which takes a list of words as a parameter and returns a tuple containing the total number of alphabetic characters and the total number of digits in the parameter list. For example: Test Result print (get_sum_alphabetics_and_digits(['life', 'is', 'a', 'long', 'journey', 'abc123', 'list1'])) (25, 4) (17, 3) print (get_sum_alphabetics_and_digits(['apple', 'banana', 'grapes', '345'])) Answer: (penalty regime: 0 %) 1|| Precheck Check