from itertools import *
r="ОРГАНИСТРУМ"
список=[]
def f3(f, а=1, г=3, и=1, м=2, н=1, о=1, р=2,
с=2, т=2, у=3):
m=list(f.lower())
z=0
for i in range(len(m)):
z+=int(locals()[m])
return z*(len(m)-1)
with open('D:\\Program Files\\Text\\слова\\1.txt', 'r') as f:
for x in f.readlines():
ss=x[:-1]
if len(ss)
r="ОРГАНИСТРУМ"
список=[]
def f3(f, а=1, г=3, и=1, м=2, н=1, о=1, р=2,
с=2, т=2, у=3):
m=list(f.lower())
z=0
for i in range(len(m)):
z+=int(locals()[m])
return z*(len(m)-1)
with open('D:\\Program Files\\Text\\слова\\1.txt', 'r') as f:
for x in f.readlines():
ss=x[:-1]
if len(ss)