New course! Every coder should learn Generative AI!
Try a free lesson+ 1
how does this give output 4?
i = 3 while i>=0: print(i) i = i - 1
1 Answer
+ 5
Hey your output will be:
3
2
1
0
If you want output as 4...
Keep i = 4
i = 3 while i>=0: print(i) i = i - 1