You are on page 1of 5

import re

import random

tri = open(input("Input File: "))


tro = open(input("Output File: "),'w')

for line in tri.readline():


for i in [1,65,1]:
if random.random()>0.5:
q = 4
else:
q = 3
if re.search(r'CORE\s'+str(i), line):
if re.search(r'V', line):
if re.search(r'V'+str(q), line):
tro.write(line)
else:
tro.write(line)
When I run the program however, it seems to finish rather quickly and the output
file is empty. I still rather inexperienced with Python and programming in general,
so any help in getting my program to help will be greatly appreciated.import re
import random

tri = open(input("Input File: "))


tro = open(input("Output File: "),'w')

for line in tri.readline():


for i in [1,65,1]:
if random.random()>0.5:
q = 4
else:
q = 3
if re.search(r'CORE\s'+str(i), line):
if re.search(r'V', line):
if re.search(r'V'+str(q), line):
tro.write(line)
else:
tro.write(line)
When I run the program however, it seems to finish rather quickly and the output
file is empty. I still rather inexperienced with Python and programming in general,
so any help in getting my program to help will be greatly appreciated.import re
import random

tri = open(input("Input File: "))


tro = open(input("Output File: "),'w')

for line in tri.readline():


for i in [1,65,1]:
if random.random()>0.5:
q = 4
else:
q = 3
if re.search(r'CORE\s'+str(i), line):
if re.search(r'V', line):
if re.search(r'V'+str(q), line):
tro.write(line)
else:
tro.write(line)
When I run the program however, it seems to finish rather quickly and the output
file is empty. I still rather inexperienced with Python and programming in general,
so any help in getting my program to help will be greatly appreciated.import re
import random

tri = open(input("Input File: "))


tro = open(input("Output File: "),'w')

for line in tri.readline():


for i in [1,65,1]:
if random.random()>0.5:
q = 4
else:
q = 3
if re.search(r'CORE\s'+str(i), line):
if re.search(r'V', line):
if re.search(r'V'+str(q), line):
tro.write(line)
else:
tro.write(line)
When I run the program however, it seems to finish rather quickly and the output
file is empty. I still rather inexperienced with Python and programming in general,
so any help in getting my program to help will be greatly appreciated.import re
import random

tri = open(input("Input File: "))


tro = open(input("Output File: "),'w')

for line in tri.readline():


for i in [1,65,1]:
if random.random()>0.5:
q = 4
else:
q = 3
if re.search(r'CORE\s'+str(i), line):
if re.search(r'V', line):
if re.search(r'V'+str(q), line):
tro.write(line)
else:
tro.write(line)
When I run the program however, it seems to finish rather quickly and the output
file is empty. I still rather inexperienced with Python and programming in general,
so any help in getting my program to help will be greatly appreciated.import re
import random

tri = open(input("Input File: "))


tro = open(input("Output File: "),'w')

for line in tri.readline():


for i in [1,65,1]:
if random.random()>0.5:
q = 4
else:
q = 3
if re.search(r'CORE\s'+str(i), line):
if re.search(r'V', line):
if re.search(r'V'+str(q), line):
tro.write(line)
else:
tro.write(line)
When I run the program however, it seems to finish rather quickly and the output
file is empty. I still rather inexperienced with Python and programming in general,
so any help in getting my program to help will be greatly appreciated.import re
import random

tri = open(input("Input File: "))


tro = open(input("Output File: "),'w')

for line in tri.readline():


for i in [1,65,1]:
if random.random()>0.5:
q = 4
else:
q = 3
if re.search(r'CORE\s'+str(i), line):
if re.search(r'V', line):
if re.search(r'V'+str(q), line):
tro.write(line)
else:
tro.write(line)
When I run the program however, it seems to finish rather quickly and the output
file is empty. I still rather inexperienced with Python and programming in general,
so any help in getting my program to help will be greatly appreciated.import re
import random

tri = open(input("Input File: "))


tro = open(input("Output File: "),'w')

for line in tri.readline():


for i in [1,65,1]:
if random.random()>0.5:
q = 4
else:
q = 3
if re.search(r'CORE\s'+str(i), line):
if re.search(r'V', line):
if re.search(r'V'+str(q), line):
tro.write(line)
else:
tro.write(line)
When I run the program however, it seems to finish rather quickly and the output
file is empty. I still rather inexperienced with Python and programming in general,
so any help in getting my program to help will be greatly appreciated.import re
import random

tri = open(input("Input File: "))


tro = open(input("Output File: "),'w')

for line in tri.readline():


for i in [1,65,1]:
if random.random()>0.5:
q = 4
else:
q = 3
if re.search(r'CORE\s'+str(i), line):
if re.search(r'V', line):
if re.search(r'V'+str(q), line):
tro.write(line)
else:
tro.write(line)
When I run the program however, it seems to finish rather quickly and the output
file is empty. I still rather inexperienced with Python and programming in general,
so any help in getting my program to help will be greatly appreciated.import re
import random

tri = open(input("Input File: "))


tro = open(input("Output File: "),'w')

for line in tri.readline():


for i in [1,65,1]:
if random.random()>0.5:
q = 4
else:
q = 3
if re.search(r'CORE\s'+str(i), line):
if re.search(r'V', line):
if re.search(r'V'+str(q), line):
tro.write(line)
else:
tro.write(line)
When I run the program however, it seems to finish rather quickly and the output
file is empty. I still rather inexperienced with Python and programming in general,
so any help in getting my program to help will be greatly appreciated.import re
import random

tri = open(input("Input File: "))


tro = open(input("Output File: "),'w')

for line in tri.readline():


for i in [1,65,1]:
if random.random()>0.5:
q = 4
else:
q = 3
if re.search(r'CORE\s'+str(i), line):
if re.search(r'V', line):
if re.search(r'V'+str(q), line):
tro.write(line)
else:
tro.write(line)
When I run the program however, it seems to finish rather quickly and the output
file is empty. I still rather inexperienced with Python and programming in general,
so any help in getting my program to help will be greatly appreciated.import re
import random

tri = open(input("Input File: "))


tro = open(input("Output File: "),'w')

for line in tri.readline():


for i in [1,65,1]:
if random.random()>0.5:
q = 4
else:
q = 3
if re.search(r'CORE\s'+str(i), line):
if re.search(r'V', line):
if re.search(r'V'+str(q), line):
tro.write(line)
else:
tro.write(line)
When I run the program however, it seems to finish rather quickly and the output
file is empty. I still rather inexperienced with Python and programming in general,
so any help in getting my program to help will be greatly appreciated.import re
import random

tri = open(input("Input File: "))


tro = open(input("Output File: "),'w')

for line in tri.readline():


for i in [1,65,1]:
if random.random()>0.5:
q = 4
else:
q = 3
if re.search(r'CORE\s'+str(i), line):
if re.search(r'V', line):
if re.search(r'V'+str(q), line):
tro.write(line)
else:
tro.write(line)
When I run the program however, it seems to finish rather quickly and the output
file is empty. I still rather inexperienced with Python and programming in general,
so any help in getting my program to help will be greatly appreciated.

You might also like