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