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

Popular posts from this blog

.net - Generate assembly with Roslyn -

ZeroMQ on Windows, with Qt Creator -

batch file - filebot superstrict script: need tiny video sample or other solution -