Page 1 of 1

Question 3 Given a string s that contains alphanumeric and special characters. Write a python program that return the su

Posted: Fri Jul 08, 2022 6:36 am
by answerhappygod
Question 3 Given A String S That Contains Alphanumeric And Special Characters Write A Python Program That Return The Su 1
Question 3 Given A String S That Contains Alphanumeric And Special Characters Write A Python Program That Return The Su 1 (39.28 KiB) Viewed 29 times
Question 3 Given a string s 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)