Python3:
print('Введите все числа, разделяя их символом " " (Пробел). ')
b = [int(i) for i in input().split()]
cost = 1
for i in range(len(b)):
b[i] = 1
print(b)
end = input('enter something to close program')
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Python3:
print('Введите все числа, разделяя их символом " " (Пробел). ')
b = [int(i) for i in input().split()]
cost = 1
for i in range(len(b)):
b[i] = 1
print(b)
end = input('enter something to close program')