diff --git a/data.txt b/data.txt deleted file mode 100644 index bf1420d..0000000 --- a/data.txt +++ /dev/null @@ -1,6 +0,0 @@ -сосиски -молоко -майонез -огурцы -помидоры -хлеб \ No newline at end of file diff --git a/script.py b/script.py deleted file mode 100644 index aa7be84..0000000 --- a/script.py +++ /dev/null @@ -1,12 +0,0 @@ -# script.py - -with open('data.txt', 'r', encoding='utf-8') as file: - lines = file.readlines() - -uppercase_lines = [line.strip().upper() for line in lines] - -with open('output.txt', 'w', encoding='utf-8') as output_file: - for line in uppercase_lines: - output_file.write(line + '\n') - -print("Данные успешно записаны в output.txt")