Ответ:
a = int(input('Введіть число: '))
numbers = [x for x in range(2,a+1) if not x % 2]
for number in numbers:
print(number)
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
a = int(input('Введіть число: '))
numbers = [x for x in range(2,a+1) if not x % 2]
for number in numbers:
print(number)