Computer Science, asked by snehadivyanshu123, 1 day ago

//WAP a program to input 6 different and count how many even number are there?​

Answers

Answered by samarthkrv
0

Answer:

even = 0

print("Enter all 6 numbers:")

for i in range(6):

   x = int(input())

   if(x%2 == 0):

       even+=1

print("In the 6 numbers you entered",even,"even numbers")

Explanation:

Similar questions