Untitled
unknown
plain_text
2 years ago
142 B
7
Indexable
palindromy=[] for line in file: line = line.strip() if int(line[0])== int(line[2]): palindromy.append(line) print(palindromy)
Editor is loading...
palindromy=[] for line in file: line = line.strip() if int(line[0])== int(line[2]): palindromy.append(line) print(palindromy)