ответвлено от main/python-labs
11 строки
168 B
Python
11 строки
168 B
Python
def reading(file_n):
|
|
numbers = []
|
|
fp=open(file_n)
|
|
for line in fp:
|
|
numbers.extend(map(float, line.split()))
|
|
fp.close()
|
|
return numbers
|
|
|
|
|
|
|