ответвлено от main/python-labs
task done
Этот коммит содержится в:
10
TEMA8/module1.py
Обычный файл
10
TEMA8/module1.py
Обычный файл
@@ -0,0 +1,10 @@
|
||||
def read_number_list(filename):
|
||||
number_list = []
|
||||
with open(filename, 'r') as file:
|
||||
for line in file:
|
||||
numbers = line.strip().split()
|
||||
for num in numbers:
|
||||
number_list.append(float(num))
|
||||
return number_list
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user