Computer Science, asked by Vrindabansal, 1 year ago

Programs of counter variable java for practice class 7

Answers

Answered by ishita3452
0

I study in class 7 but I didnt understood the ques

Answered by nishu10122004
0

Answer:

counter = 0

for i in [1,2,3,4]:

 if i % 2 == 0:

   print("even number")

 else:

   print("odd number")

 counter += 1

print(counter)

Similar questions