I want to create a counter as 01 on increment as 02,03 till 12. How can I do it
You can use while loop for this, here are the steps
- In Assign counter = 1
- In while loop set condition as counter <=12
3.inside while do the logic an you want and increase the counter at last in assign counter = counter + 1
Thanks for ur help
Happy to hear please mark my answer as solution on both the topics created…
If v don’t know when the count will end. Do v need to use condition in the whole loop
you can try this way too using for each loop
You can create an infinite loop too
with condition in while loop as True
Change the condtion in while loop from 12 to the number you want.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.