Page 1 of 1

Question 3 Given a strings that contains alphanumeric and special characters. Write a python program that return the sum

Posted: Fri Jul 08, 2022 6:36 am
by answerhappygod
Question 3 Given A Strings That Contains Alphanumeric And Special Characters Write A Python Program That Return The Sum 1
Question 3 Given A Strings That Contains Alphanumeric And Special Characters Write A Python Program That Return The Sum 1 (237.19 KiB) Viewed 34 times
Question 3 Given a strings that contains alphanumeric and special characters. Write a python program that return the sum, the highest number and the average of the digits that appear in the string. The total number of all alphabetic characters and total number of non-alphanumeric characters (e.g., # and @). String s="Pynative83@56#96" Expected output: Sum is of numeric characters: 37 Average is 6.166666666666667 Highest is 9 Sum of alphabetic characters: 8 Sum of Non alphanumeric characters: 2 (20 Marks)