forked from stud178861/Dungeon_Eater
9 lines
318 B
Python
9 lines
318 B
Python
with open('data.txt', 'r') as file:
|
|
lines = file.readlines()
|
|
|
|
transformed_lines = [line.upper() for line in lines]
|
|
|
|
with open('output.txt', 'w') as output_file:
|
|
output_file.writelines(transformed_lines)
|
|
|
|
print("Данные успешно преобразованы и записаны в файл output.txt") |