With open("file1.txt",'r') as f: arr=f.readlines()
for i in arr:
if int(i)<=0:
with open('file2.txt','a') as f1:
f1.write(i+'\n')
with open('file2,5.txt','r') as w:
a=w.readlines()
count1=0
for j in a:
if int(i)%2==0:
count1+=1
with open('file3', 'w') as w2:
w2.write(str(count1))
with open('file2.txt','r') as w:
a=w.readlines()
count=0
for j in a:
if(j != ''):
count+=1
with open('file3', 'w') as w2:
w2.write(str(count))
и быстро >:О
Что это?;]
Объяснение:
ПРОСТИ,Я ДУМАЛ ЧТО ЭТО АНГЛИСКИЙ))
NYC is td FCC ycuhhfghcffddsaaa