New = [int(input()) for i in range(5)]
for i in range(len(New)):
if New[i] % 2 == 0:
New[i] = 1
print(New)
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
New = [int(input()) for i in range(5)]
for i in range(len(New)):
if New[i] % 2 == 0:
New[i] = 1
print(New)