For more courses visit : https://www.edyoda.com/
We discussed the basic syntax of for loop in the last video. In this video we will discuss how to break out the loop using break statement , how to jump to the next iteration using continue statement, how to iterate over index and value using enumerate function. In python we can write the else block for loop too. We will also go through the use cases of optional else block in this video.
Practice Problem:
1) Write a program, which will find all such numbers between 1000 and 3000 (both included) such that each digit of the number is an even number.