Average word length
You are in a college level English class, your professor wants you to write an essay, but you need to find out the average length of all the words you use. It is up to you to figure out how long each word is and to average it out. Task: Takes in a string, figure out the average length of all the words and return a number representing the average length. Remove all punctuation. Round up to the nearest whole number. here's my code isn't working import math a = input() b = a.replace(" ","") c = a.split() print(math.ceil(len(b)//len(c))) either another coDe is. a = input() b = a.replace(" ","") c = a.split() print(round(len(b)//len(c))) 1st code is getting matched with question case. and 2nd matching with first 2 answer case but still not getting approved. more cases are locked and I'm unable to check with that please help