python - Can I combine multiple for loops? -
i have following code, can please me make more elegant:
for hex in numdb: print_file1(hex, output_file1) hex in numx1: print_file1(hex, output_file2) hex in numac: print_file2(hex, output_file2)
Comments
Post a Comment