How write file length in another file using a loop?
How write file length in another file using a loop? Question: I am attempting to write a file which compares the amounts of permutations available for three numbers. The current script is tmp = open("tmp_out.txt","w+") out = open("output_trip.txt", "w") N = 4 for k in range(2,N+1): count = 1 for j in range(1,k): for i …