Przeczytaj wiersz pliku według listy
with open("file.txt") as file:
lines = file.readlines()
lines = [line.rstrip() for line in lines]
wouthur
with open("file.txt") as file:
lines = file.readlines()
lines = [line.rstrip() for line in lines]