Ответ:
Объяснение:
1.
n = list(map(int, input()))
summ = 0
for i in n:
if i % 2 == 0:
summ += i
print(summ)
2.
x = input()
y = input()
for i in x:
if i in y:
print(i, end=" ")
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
Объяснение:
1.
n = list(map(int, input()))
summ = 0
for i in n:
if i % 2 == 0:
summ += i
print(summ)
2.
x = input()
y = input()
for i in x:
if i in y:
print(i, end=" ")