Answers for "TypeError: unsupported operand type(s) for %: 'list' and 'int'"

0

TypeError: unsupported operand type(s) for %: 'list' and 'int'

a = []
k=1
 
for x in range(0,10):
    a.append(int(input()))
     
for x in a:
    if (x % 2 == 0):
        k *= x
 
print(k)
Posted by: Guest on August-05-2021

Code answers related to "TypeError: unsupported operand type(s) for %: 'list' and 'int'"

Python Answers by Framework

Browse Popular Code Answers by Language