Write the program into while loop
for I in range (1,16) :
if (i%3) = = 0 :
print (I)
Answers
Answered by
0
Answer:
0
because range is 16 and % is 3 and and 0
Answered by
3
Answer:
i=1;
while (i<=16):
if(i%3==0):
print(i)
i=i+1
Explanation:
HOPE IT HELPS YOU. DO FOLLOW FOR MORE PROGRAMS
Attachments:
Similar questions