Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)
Paste
Pasted as Python by Olga ( 14 years ago )
def wordform (n):
if i==1 and 10!=11:
return [0]
if i==2 or i==3 or i==4 and i0!=12 or i0!=13 or i0!=14:
return [1]
else:
return [2]
word=[u'слово', u'слова', u'слов']
letter=[u'буква', u'буквы', u'букв']
massive=[]
word=raw_input ('input a word')
while len(word)>0:
massive+=[len (word)]
word=raw_input ('input one more word')
m=max (massive)
for i in range (1, m+1):
n=massive.count (i)
print str (i) + u' ' + letter [wordform (i)] + str (n) + u' ' + word [wordform (n)]
Revise this Paste
Parent: 55945
Children: 55947