Esercizio 3 Prova Pratica 30-05-2012
Jump to navigation
Jump to search
Soluzione di Pierg
import sys, os
lines = []
directory = sys.argv[1]
for file in os.listdir(directory):
lines.append(file)
for el in lines:
for le in lines:
if el[::-1] == le:
print el