+ 1
average length problem
import math sum=0 x=input() b=x.split() for i in b: c=len(i) sum=sum+c aver=len(b) average=sum/aver print(round(average)) if I use round i fail test 3 if i use ceil i fail test 1 lol
3 Respostas
+ 4
Punctuation should not be counted,is your code doing that?
+ 1
just checked it seems yes it does ah gota go will reply when iam back sorry
+ 1
thanks i solved it by removing punc