how can we use the same condition by using the iteration for the numbers automatically?
Like 1 after 2. 2 after 3. till 50?
samuel16
0
Newbie Poster
Recommended Answers
Jump to Posthow can we use the same condition by using the iteration for the numbers automatically?
Like 1 after 2. 2 after 3. till 50?This thread is 3 years old and it is solved. Why don't you start your own thread ? Also please expose your question in details. It's …
Jump to PostI'm not sure what you're asking. Are you asking if it's possible to have a for loop within a for loop? Sure, it is.
Or are you asking if you can iterate over two objects at once, then the answer is sure, but perhaps not in the way you might …
Jump to PostWell, there are two things to answer that.
Firstly, a boolean object which says whether to print or not.
Secondly, the statement "continue". continue will jump to the next item in the loop, skipping any code beyond the continue.Example -
found = False for …
All 9 Replies
Gribouillis
1,391
Programming Explorer
Team Colleague
samuel16
0
Newbie Poster
Enalicho
samuel16
0
Newbie Poster
Enalicho
samuel16
0
Newbie Poster
Enalicho
samuel16
0
Newbie Poster
Enalicho
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.