Consider the following python program:
N=input("Enter N.")
sum = 0
while i<N:
if i%2=0
sum = sum + i
i=i+1
print (sum)
What is the output when the input value is:
(i) 5 (ii) 0
Attachments:
Answers
Answered by
0
Answer:
what is the value of i? plz mention that
Similar questions