Page 1 of 1

Given a string s that contains alphanumeric and special characters. Write a python program that return the sum, the high

Posted: Fri Jul 08, 2022 6:36 am
by answerhappygod
Given A String S That Contains Alphanumeric And Special Characters Write A Python Program That Return The Sum The High 1
Given A String S That Contains Alphanumeric And Special Characters Write A Python Program That Return The Sum The High 1 (102.04 KiB) Viewed 38 times
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)